stride in slices

Steven Schveighoffer schveiguy at yahoo.com
Tue Jun 5 19:26:09 UTC 2018


On 6/5/18 3:05 PM, DigitalDesigns wrote:

> It's also often not necessary to be "as slow as possible". I'm not 
> asking for about generalities but specifics. It's great to make 
> generalizations about how things should be but I would like to know how 
> they are. Maybe in theory ranges could be more optimal than other 
> semantics but theory never equals practice.

Again, I want to stress, ranges are not "as slow as possible", and it's 
clear from the numbers posted here that they are faster than for loops 
in practice, at least for this example.

-Steve



More information about the Digitalmars-d mailing list