Boost logo

Boost :

Subject: Re: [boost] Geometry and spatial indexes, my opinion
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2008-10-11 12:45:08


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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk