On 03/04/2016 04:19 PM, Meta wrote:
On Friday, 4 March 2016 at 20:14:41 UTC, Andrei Alexandrescu wrote:
This is just speculation. When the stride is passed to larger
functions the value of the stride is long lost.
I understand the desire for nice and simple code but sadly the stdlib
is not a good place for it - everything must be tightly optimized. The
value of the project stands. -- Andrei
It's easy to implement but isn't this an optimization that LDC/GDC would
already do if the stride is known at compile time?
Not generally, no. -- Andrei