On 06/25/2013 07:16 PM, Andrei Alexandrescu wrote:
On 6/25/13 4:47 AM, Timon Gehr wrote:Good point, but takeExactly currently is not a better choice due to its poor quality of implementation. https://github.com/D-Programming-Language/phobos/blob/master/std/range.d#L2904What's wrong with it? Andrei
It either has all the overhead of take or does not properly propagate the underlying range's capabilities.