Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-02-05 12:33:25


At 07:57 AM 2/5/2002, Synge Todo wrote:
>Dear Boosters,
>
>I've just uploaded my new version of fixed_capacity_vector and others:
>
> http://groups.yahoo.com/group/boost/files/fixed_capacity/

Below are some more timings (Win2K, VC++ 7.0 rc, release build)

--Beman

allocating 262144 short vectors of length 4
fixed_capacity_vector 0.203 sec
std::vector 1.265 sec

allocating 262144 short vectors of length 8
fixed_capacity_vector 0.312 sec
std::vector 1.703 sec

allocating 262144 short vectors of length 12
fixed_capacity_vector 0.437 sec
std::vector 1.984 sec

allocating 262144 short vectors of length 16
fixed_capacity_vector 0.562 sec
std::vector 2.313 sec

allocating 262144 short vectors of length 32
fixed_capacity_vector 1.015 sec
std::vector 4.125 sec

allocating 262144 short vectors of length 64
fixed_capacity_vector 1.953 sec
std::vector 16.563 sec

allocating 8192 short vectors of length 1024
fixed_capacity_vector 0.89 sec
std::vector 1.469 sec


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