From: Ian Bruntlett (Ian.Bruntlett_at_[hidden])
Date: 2000-07-18 03:35:00
> Can I suggest an optimisation ? In your RawHandle, you can use some sort
> union between the void* raw pointer and the boolean. On most
> implementations, the pointers are always at least 2-byte aligned (4-bytes
> for my Macintosh). So, you can use the least significant bit to store your
May I suggest you make the optimisation optional?
It optimises space usage, at the expense of portability and execution speed.
Sometimes portability and/or speed will be more important.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk