reynir/ocp-index-top

Slow start

Opened this issue · 1 comments

The module takes a while to initialize, almost one second. This is not ideal when #require "ocp-index-top";; is added to .ocamlinit. Options to consider:

  • Caching the index

  • If possible, running the indexing in the background

Another solution is to lazily index the packages. It's currently implemented in the lazy branch.