On 8/26/06, Patrik Jonsson <patrik@ucolick.org> wrote:

What optimization options did you use? There should be little difference
in performance as long as the compiler inlines the vector access functions.

I just used the default settings, no extra switches.
BTW, you can edit and run the test program,
maybe you can conclude something interesting through
varying the optimization.
Anyhow, the  difference between  simple  and  [] access
is too big for a simple optimization, I think so.

Janos