Boost logo

Boost :

From: Terje Slettebø (tslettebo_at_[hidden])
Date: 2002-06-11 12:26:32

>From: "Lars Gullik Bjønnes" <larsbj_at_[hidden]>

>"David Abrahams" <david.abrahams_at_[hidden]> writes:

>| From: "Lars Gullik Bjønnes" <larsbj_at_[hidden]>
>>> When testing this and the prev. version with gcc, I get a 2:3
>>> perfomance difference in favour of the traditional solution.
>>> Gcc 3.1 -O3
>>> ./postincr
>>> Number1: 6650000
>>> Number2: 9900000
>| That's not surprising. What happens when you try the version that
>| returns the postfix_incrementer<number> instead of the number?
>No difference.

I also wondered about all the hoopla and eagerness of adding this to Boost,
why nobody had bothered to check if it improved performance, in practice.



Boost list run by bdawes at, gregod at, cpdaniel at, john at