Re:Tinyalloc: replacement for malloc/free in unmanaged, line...
by AHTERIX5000 on Sunday January 06, 2019 @11:11AM
(#18838987)
Looks nifty and simple. Last time I had to work with low mem environment (64k heap for Lua running on MIPS) I ended up implementing something close to TLSF [1] allowing to choose some trade-offs regarding perf/allocation efficiency.
In the end we still had to add one layer of hack^H^H engineering tricks to workaround fragmentation issues in the worst case :-)
In the end we still had to add one layer of hack^H^H engineering tricks to workaround fragmentation issues in the worst case :-)
[1] http://www.gii.upv.es/tlsf/files/ecrts04_tlsf.pdf