Joel Falcou | 11 Oct 18:45
Picon
Picon
Gravatar

Re: Geometry and spatial indexes, my opinion

Mathias Gaunard a écrit :
> If the loops are fully unrolled, I don't see the difference between 
> "static" and "dynamic" indexing.
>
What I mean is that it seems from experimental results that :
for(int i=0;i<16;++i) // code is more often unrolled than for(int i = 
foo();i<bar();++i) // code

Concerning your remark :
"While access by index is theoretically slower than pointer increments, 
I'm pretty sure any compiler optimizes the former to the latter. "
you're perfectly right.

--

-- 
___________________________________________
Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Gmane