3 ms·
Why are you comparing an API (malloc/free) to an implementation (mark and sweep)? Anyway, take a look at the OCaml GC. It's simple (probably simpler than glib
by rwmj 14y ago
Why are you comparing an API (malloc/free) to an implementation (mark and sweep)?
Anyway, take a look at the OCaml GC. It's simple (probably simpler than glibc's malloc) and very performant particularly if you understand how it works and use it intelligently in your app.