Boost logo

Boost :

From: Douglas Gregor (doug.gregor_at_[hidden])
Date: 2005-12-29 21:38:27


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


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