
30 Dec
2005
30 Dec
'05
2:38 a.m.
On Dec 29, 2005, at 12:49 PM, Douglas Gregor wrote:
boost::function adds to this the "manager" and "invoker" pointers, which would bring us to 20 bytes in the SBO case. But, we can collapse the manager and invoker into a single vtable pointer, so we'd get back down to 16 bytes.
FWIW, I've just committed changes that compress the manager and invoker pointers into a single vtable pointer. boost::function is now 8 bytes (on most 32-bit platforms); we can try the SBO from there. Doug