4 ms·
I've had to find a malloc simple enough to port to another language recently and this one was really well written with good features and research papers behind
by speps 3y ago
I've had to find a malloc simple enough to port to another language recently and this one was really well written with good features and research papers behind it: https://github.com/mattconte/tlsf https://github.com/mattconte/tlsf
- gizmo 3y agoFor the algorithm used see https://github.com/jserv/tlsf-bsd https://github.com/jserv/tlsf-bsd
- mananaysiempre 3y agoIncidentally, it’s also what AssemblyScript uses: https://github.com/AssemblyScript/assemblyscript/blob/main/std/assembly/rt/tlsf.ts https://github.com/AssemblyScript/assemblyscript/blob/main/s...