The same cmi file is accessed more than one time

Issue #12 resolved
camlspotter
repo owner created an issue

Reported at 9f6319ab12e3 . This causes slow down of the program, especially for huge cmi files.

Comments (4)

  1. camlspotter reporter

    Only the code which may access cmi files are Cmt.recover_env, and its caching was disabled. It is now turned on at 185ae671493d . But I am not still sure it is safe or not, since ocamlspot chdirs during its module traversal, and it is not supposed for ocaml module file handling, I guess.

  2. Log in to comment