Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2005-03-30 11:39:33


"John Maddock" wrote:

> Or possibly deprecate param_type ;-)
>
> On most modern machines the difference between passing small types by
> reference and by value is negligible, the main use is to prevent aliasing
> (similar to C99's restrict keyword):
>
Similar feature was (cca year ago) added into STLport.

Measurements had shown several % speedup
for vector<int>::push_back().

Implementors of STL count every cycle.

/Pavel


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