Open kit-ty-kate opened 4 months ago
The PR is now fully working as far as i tested. However given the untested nature of this change, its presence in such a central piece of code and its reliance on big changes in underlying software (opam-file-format) I don't think it should be in 2.2 but i think it a good place to start to think about:
OpamConsole.log
, uses of ocaml-re
, removal of chdir
, introduction of OpamLazy
from https://github.com/ocaml/opam/pull/5877)I'll split this PR into several smaller ones once 2.2.0 is out.
WIP attempt at (temporary) fixing #5741 by throwing more silicon^Wdomains at the problem while #5648 is being worked on.
This currently requires:
Stats.read_files
Mismatching extra-files at ...: missing from 'files' directory (1)
on so many more unrelated packagesCurrent result:
opam update default
goes from 6 seconds to 4 secondsopam init --bare
goes from 6 and a half minutes to 3 minutes exactly. Of that 3 minutes, 1 minute is unchanged and taken by the extraction of the tar.gz archive.Partly inspired by NTFS really isn't that bad - Robert Collins (LCA 2020)
Related to #5591 Fixes https://github.com/ocaml/opam/issues/3171 Fixes https://github.com/ocaml/opam/issues/4455 Fixes https://github.com/ocaml/opam/issues/2442