
1 Jun
2005
1 Jun
'05
9:28 a.m.
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.