Boost logo

Boost :

Subject: [boost] copy on write for std containers
From: Peter Foelsche (foelsche_at_[hidden])
Date: 2010-12-04 14:46:49

I wrote a couple of lines and replaced std::set and std::map with some
and I got a dramatic speed improvement with the last gcc 4.5. I think.

My code was using recursive functions iterating over a tree returning and
setting such objects.

I looked and it seems there is nothing like this in boost!

Ideally this should be an template argument for the std containers.


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