Is the ocaml code compiled to bytecode or to native code? (i.e. do you use ocamlc or ocamlopt)
ocamlopt. With "-unsafe" flag on.