Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-04-03 14:46:32

Marcin Kalicinski wrote:
> [live_ptr | shared_ptr/weak_ptr]
> Single threaded: 0.921s | 1.891s (live_ptr is 2x faster)
> Multi threaded: 1.015s | 8.063s (live_ptr is 8x faster)
> Below is source code for that test:
> #include <iostream>
> #include <ctime>
> #include <vector>
> #include <boost/weak_ptr.hpp>
> #include <boost/shared_ptr.hpp>
> #include "live_ptr.hpp"

Can you post live_ptr.hpp so that I can run the test and play with it a bit?

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