
3 Apr
2005
3 Apr
'05
7:46 p.m.
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?