summaryrefslogtreecommitdiff
path: root/compiler/CodeGen.Platform.h
diff options
context:
space:
mode:
authorFinley McIlwaine <finleymcilwaine@gmail.com>2023-05-17 13:43:54 -0600
committerFinley McIlwaine <finleymcilwaine@gmail.com>2023-05-17 13:43:54 -0600
commitbc57ee2686dfe011a631bec9f64cb86f03545d3d (patch)
treec3727116a88ebd3cc71c32f0c3321f142493f36b /compiler/CodeGen.Platform.h
parent2972fd66f91cb51426a1df86b8166a067015e231 (diff)
downloadhaskell-wip/haddock-mem-fixes.tar.gz
Memory usage fixes for Haddockwip/haddock-mem-fixes
- Do not include `mi_globals` in the `NoBackend` backend. It was only included for Haddock, but Haddock does not actually need it. This causes a 200MB reduction in max residency when generating haddocks on the Agda codebase (roughly 1GB to 800MB). - Strictly evaluate some SrcSpans in mkDoc{Next,Prev} to avoid thunks - Strictly evaluate names in rnHsDoc to avoid retaining entire GlobalRdrEnv - Update Haddock submodule
Diffstat (limited to 'compiler/CodeGen.Platform.h')
0 files changed, 0 insertions, 0 deletions