diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-11-05 18:24:03 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-11-11 07:22:03 -0500 |
commit | c2ed85cb1e2430c089e4d00c070a2bfa2d84a4ba (patch) | |
tree | dd13f8372eabc22bb63af181cfd7d9fc3f726ca4 /compiler/GHC/Unit/Module/Location.hs | |
parent | 11c9a469b8857ff49aa2f0744bec001a904761e9 (diff) | |
download | haskell-c2ed85cb1e2430c089e4d00c070a2bfa2d84a4ba.tar.gz |
driver: Cache the transitive dependency calculation in ModuleGraph
Two reasons for this change:
1. Avoid computing the transitive dependencies when compiling each
module, this can save a lot of repeated work.
2. More robust to forthcoming changes to support multiple home units.
Diffstat (limited to 'compiler/GHC/Unit/Module/Location.hs')
0 files changed, 0 insertions, 0 deletions