Piotr Szturmaj:
Some time ago I proposed a hybrid range concept where the front() is an array. All algorithms would first traverse the memory in this array, then call popFront to get another array (slice). In this way, function call overhead is minimized because it's paid sparsely rather than for each range element.
There are papers on this topic, like: http://lafstern.org/matt/segmented.pdf Bye, bearophile
