Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2005-06-01 04:28:38


Maksym Motornyy wrote:
>
> Thanks for articles. Well, I understand that multithreaded environment
> can be a bad place for COW optimization.

That's a myth. Apart from copying elimination (small string
optimization can be done in addition to COW for large strings),
COW's msync is much more efficient (naked increments to begin
with) than allocator's msync. Brain-dead implementations and
"test harnesses" (gotw 45) don't really change the reality.

regards,
alexander.


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