summaryrefslogtreecommitdiff
path: root/compiler/GHC/Unit/Module/Location.hs
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-11-05 18:24:03 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-11-11 07:22:03 -0500
commitc2ed85cb1e2430c089e4d00c070a2bfa2d84a4ba (patch)
treedd13f8372eabc22bb63af181cfd7d9fc3f726ca4 /compiler/GHC/Unit/Module/Location.hs
parent11c9a469b8857ff49aa2f0744bec001a904761e9 (diff)
downloadhaskell-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