Boost logo

Boost :

Subject: Re: [boost] Proposal: Monotonic Containers
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-06-12 06:37:29


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk