jonludlam / odoc

Documentation compiler for OCaml and Reason
Other
0 stars 0 forks source link

Enable delayed loading of root modules #32

Closed Julow closed 4 years ago

Julow commented 4 years ago

Building core (include building object files, on my machine with taskset) goes from 14 minutes to 10 minutes.

The second commit replaces Component.Delayed with Lazy and the third propagate a lazy value in a few places. The last two commits gives very little improvements (lost in noise on big benchmarks). The last commit can be dropped if the code seems less readable.

Julow commented 4 years ago

The first commit is picked, the last two are not necessary.