C `restrict` keyword in D

Dukc via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 8 03:12:48 PDT 2017


On Wednesday, 6 September 2017 at 17:30:44 UTC, Dukc wrote:
> See David Simcha's talk at DConf 13 at 37:30, that's the basic 
> idea how I'm thinking the range would internally iterate.

Correction: The outer loop would iterate in steps like that but 
the body would be different. It would each time copy elements 
into static array of length unroll.length (which in this case 
would be width of vector operations), let the user iterate over 
that and then assign it back to the original array.


More information about the Digitalmars-d mailing list