[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Question about Lua 5.1.3 and realloc() on life.lua
- From: Doug Currie <doug.currie@...>
- Date: Fri, 2 May 2008 10:51:58 -0400
On Friday, May 02, 2008 Ralph Hempel wrote:
> I've written a stripped down best-fit malloc that is very fast on
> ARM7 devices with very limited RAM. I still get fragmentation on
> the order of 20-30%.
You would expect high fragmentation with best fit.
TLSF has been mentioned on this list a few times:
http://lua-users.org/cgi-bin/namazu.cgi?query=tlsf&sort=score&idxname=lua-l&max=20
I use dlmalloc for embedded software; it's hard to beat.
e
--
Doug Currie
Londonderry, NH, USA