Use caml_ba_alloc instead of malloc to allocate memory when possible since this way the GC knows more precisely the size of used memory.
Use caml_ba_alloc instead of malloc to allocate memory when possible since this way the GC knows more precisely the size of used memory.

savonet/ocaml-mm