[Git][ghc/ghc][wip/sjakobi/tweak-mk_mod_usage_info] WIP: Try more strictness
Simon Jakobi pushed to branch wip/sjakobi/tweak-mk_mod_usage_info at Glasgow Haskell Compiler / GHC Commits: d8a089d2 by Simon Jakobi at 2026-04-19T18:33:59+02:00 WIP: Try more strictness - - - - - 1 changed file: - compiler/GHC/HsToCore/Usage.hs Changes: ===================================== compiler/GHC/HsToCore/Usage.hs ===================================== @@ -234,7 +234,7 @@ mk_mod_usage_info uc home_unit home_unit_ids this_mod direct_imports imp_decls u -- ent_map groups together all the things imported and used -- from a particular module ent_map :: ModuleEnv [OccName] - ent_map = nonDetStrictFoldUniqSet add_mv emptyModuleEnv used_names + !ent_map = nonDetStrictFoldUniqSet add_mv emptyModuleEnv used_names -- nonDetStrictFoldUniqSet is OK here. If you follow the logic, we sort by -- OccName in ent_hashs where View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d8a089d2af6fde927d1b11eaf2d8cc82... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d8a089d2af6fde927d1b11eaf2d8cc82... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Simon Jakobi (@sjakobi2)