
12 Jun
2009
12 Jun
'09
10:37 a.m.
Christian Schladetsch skrev:
Hi David,
Then I re-ran your test. I also added another test, which does exactly the same thing, but using std::vector, rather than monotonic::vector:
Incrementing ord = 2.89 ps per iteration Incrementing ord = 2.86 ps per iteration STD: Incrementing ord = 3.1 ps per iteration STD: Incrementing ord = 3.1 ps per iteration
Please compare with Boost.Intrusive also. It's not hard to beat a standard implementation, but it is probably harder to beat intrusive containers. Also, if you need aligned storare, please use boost::aligned_storage. -Thorsten