|
Boost : |
From: Alex Besogonov (cyberax_at_[hidden])
Date: 2005-12-27 14:41:39
Good <time-of-day>!
Why not use 'small buffer optimization' for boost::function? Most of
allocations are 8-16 bytes - an optimal size for SBO.
This optimization will make boost::function _much_ faster - in one of
our project boost::function is responsible for 15% of the whole
processor time.
PS: it will also be nice if something like
http://www.codeproject.com/cpp/FastDelegate.asp will be included in
Boost (and possibly in TR2).
PS: Happy New Year!
-- With respect, Alex Besogonov (cyberax_at_[hidden])
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk