TLSFMem is an implementation of a very new memory allocation system called TLSF (two level segregated fit). TLSF was described in a paper in 2005 by the three italian researchers M. Masmano, I. Ripoll, A. Crespo. Originally designed for Realtime Operating Systems, all allocation and free operations run with constant time complexity (O(1)). This is a major improvement over the original AmigaOS memory system, which gets slower while memory gets fragmented (O(m) where m is the number of fragments).
Moreover, the old AmigaOS allocator uses a first fit strategy, which causes the memory to fragment pretty quickly. TLSF is an exact fit allocator for memory blocks smaller than 512 bytes and a
good fit allocator for all other sizes: It will always find a free block which is always smaller than 103% of the requested block.
TLSFMem is blindly fast and will reduce memory fragmentation significantly!TLSFMem was written in optimized assembly language, but more importantly, it uses these clever constant time algorithms.
This software comes as freeware, but as I spent a lot of time in developing it, you are welcome to donate something.
Download it here.Chris Hodges