lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


J. Perkins wrote:


> A very generic solution is to write your own memory
> allocation routines and pool small requests together
> into larger pages. I haven't gotten around to writing
> one for my current project, but there is a good
> example in the Nebula Device at Radon Labs:

Along these lines I'd also recommend the article "Memory Management in C++"
by Nathan C. Myers (http://www.cantrip.org/wave12.html).  It suggests how to
unify memory management and work with several heaps of different policy
painlessly.

-John