Re: [Caml-list] caml_oldify_local_roots takes 50% of the total runtime

"Markus Mottl" <markus.mottl@gmail.com> writes:
To work around this problem you should store pointers to the C++-objects on
the C++-side, and e.g. associate them with finalized OCaml-values, or
handles which allow you to explicitly deallocate the objects.
I don't quite understand: I only have pointers from C++ to ocaml.
Once constructed the ocaml objects are completely independent
from the C++ ones.
Hendrik