Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-10-08 11:43:49


From: "Beman Dawes" <bdawes_at_[hidden]>
>
> If an extremely minor tweak to the code produces a small improvement,
well,
> go for it. But it must meet a whole bunch of conditions: doesn't in any
way
> reduce readability or maintability, works uniformly for many or all
> compilers, doesn't rely on problematic or undefined behavior, etc.

The optimization (enabled by #define BOOST_SP_USE_STD_ALLOCATOR), and the
test I used (shared_ptr_alloc_test.cpp), are now in the CVS. My Win32-only
experiments show that enabling BOOST_SP_USE_STD_ALLOCATOR only makes a
difference on an SGI(-derived) standard library.


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