|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-01-29 16:25:09
From: "Peter Dimov" <pdimov_at_[hidden]>
>
> One easy way to estimate the impact of an optimized allocator is to
#define
> BOOST_SP_USE_STD_ALLOCATOR, to make shared_ptr use std::allocator. On SGI
> derived STLs, std::allocator is usually faster than plain new.
I tried to do that myself but benchmark.cpp doesn't compile for me, there's
probably no timespec on Windows.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk