On Monday, 19 December 2016 at 09:24:38 UTC, Ali wrote:
On Monday, 19 December 2016 at 00:11:49 UTC, Nicholas Wilson wrote:
[...]

Ok so laziness stops as soon as sort is required on a range then?

No. Because a lazy range is not random access, and therefore does not meet sorts requirement.

Ahh, because in place algorithms?

Yes

Are there any plans in
D to make is to that you can output copies to collections so that you could do something like filter.transpose.sort and just have it output a modified copy?

None that I know.


[...]

Hmm, for the other problem you could do

chain(only(T(dchar.max, uint.max)),range)

and still use the seedless version.

Thanks for input so far!

Reply via email to