On Sat, Sep 02, 2006 at 04:22:15PM +0100, Andrew Doran wrote: > For an example of memory > usage, on i386 a mutex is 4 bytes and a RW lock is 16 bytes. But you have got to stop putting mutexes in other data structures like this. It causes terrible cache behavior. (Do I actually need to explain this?)