
27 Dec
2005
27 Dec
'05
7:41 p.m.
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@elewise.com)