From: Dave Harris (brangdon_at_[hidden])
Date: 2002-10-07 13:36:31
On Mon, 7 Oct 2002 20:08:29 +0300 Peter Dimov (pdimov_at_[hidden]) wrote:
> Let's assume for the sake of discussion ;-) that you can do one million
> shared_ptr allocations for 1.3 seconds. You turn on optimization X and
> the time goes down to 1 second.
> Is this a significant speedup, in your opinion?
Generally I don't get out of bed for less than a factor of 2. I'd probably
make an exception for a library routine which will be used intensively by
a large number of other people. Unless the optimisation was ugly, I might
go as low as 5-10%.
Is the improvement consistent across a range of different compilers?
-- Dave Harris
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk