On Friday, 24 April 2015 at 11:33:48 UTC, John Colvin wrote:
That is pretty much identical to the implementation of map, see https://github.com/D-Programming-Language/phobos/blob/master/std/algorithm/iteration.d#L504

The only difference is that you don't implement opSlice. Perhaps slicing is particularly slow for your source range?

I suspect the cause is the current inability to inline across modules.

Reply via email to