Skip to content

Refactoring module dependencies

Sylvain Henry requested to merge hsyl20/ghc:hsyl20/deps into master

While working on #20218 (closed) I noticed that the code handling module dependencies seemed inefficient because it used sorted lists instead of sets. CI seems to agree.

      MultiLayerModules(normal) ghc/alloc  4130851520.0  2981473072.0 -27.8%
                 T13719(normal) ghc/alloc  4313296052.0  4151647512.0  -3.7%

Merge request reports