On Thu, Feb 07, 2008, Robert Collins wrote: > > > > I've removed that hack, and things work fine for me. Ubuntu 7.01 here, > > x86_64. > > There's a useful c++ thing called 'placement new' - its used when you > have classes that you want to use on the stack, but still have tight > abstraction boundaries.
Well, I haven't removed the temporary malloc/free pair, whatever its called; I've just removed Amos' workaround in src/comm.cc so it doesn't leak on my system whilst I profile. Still, this is one of those "death of a thousand cuts" method of killing performance.. Adrian