Rob T:
Timings for short functional version vs fast would be nice.
OK. On the other hand regarding speed the fast version is in another world. So the speed comparison will become a little silly.
-------------- Martin Nowak:
len.uninitializedArray ? Isn't this too much UFCS?
I think it's just enough of UFCS. Bye, bearophile