[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Optimizing Lua memory access/usage...
- From: "John Belmonte" <jvb@...>
- Date: Tue, 11 Sep 2001 10:28:08 +0900
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