Good project: stride() with constant stride value

kinke via Digitalmars-d digitalmars-d at puremagic.com
Sat Mar 5 06:32:10 PST 2016


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

With that argument, we might end up with druntime and Phobos 
completely in manually-tweaked inline assembly to compensate for 
simpler back-ends. I'm obviously exaggerating, but unless you can 
show that a compile-time version really provides a significant 
boost for optimized GDC/LDC builds too, I don't see the project's 
value.


More information about the Digitalmars-d mailing list