summaryrefslogtreecommitdiff
path: root/compiler/GHC/Unit/Module/ModGuts.hs
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-09-14 15:23:51 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-09-17 09:44:53 -0400
commit9eff805a622db499be1fda304e11bb3e6c8d37f0 (patch)
tree2e8a604a67cde28ef97dc7bcd87629107560cb19 /compiler/GHC/Unit/Module/ModGuts.hs
parent053a5c2c644993274e7779b446170e96e49ab491 (diff)
downloadhaskell-9eff805a622db499be1fda304e11bb3e6c8d37f0.tar.gz
Code Gen: Use strict map rather than lazy map in loop analysis
We were ending up with a big 1GB thunk spike as the `fmap` operation did not force the key values promptly. This fixes the high maximum memory consumption when compiling the mmark package. Compilation is still slow and allocates a lot more than previous releases. Related to #19471
Diffstat (limited to 'compiler/GHC/Unit/Module/ModGuts.hs')
0 files changed, 0 insertions, 0 deletions