26 Aug
2006
26 Aug
'06
7:59 p.m.
On 8/26/06, Janos Vegh
[snipped]
I neither, except that it looks like that in the case of AT checking the lower and upper limits of the index needs no extra time(??).
No measurable time you mean.
Otherwise, on my system $ g++ -oeffic2.exe effic2.cpp
It's here that you're making a mistake. You must use the optimization flags, otherwise your benchmark is measuring how slow your debug builds are, which isnt very important, IMO.
[snipped]
Janos
-- Felipe Magno de Almeida