summaryrefslogtreecommitdiff
path: root/compiler/GHC/Core/Opt/SpecConstr.hs
diff options
context:
space:
mode:
authorRichard Eisenberg <rae@richarde.dev>2020-10-28 17:51:42 -0400
committerRichard Eisenberg <rae@richarde.dev>2020-10-28 17:51:42 -0400
commitb0fbfd3100ca36abcb1c854dea92722fc45f5328 (patch)
tree6532da06fe8b329c64f48c8c0fe1c9e419ca3d0f /compiler/GHC/Core/Opt/SpecConstr.hs
parent28f98b01d055c8027f9495b1669bf875b3e42168 (diff)
downloadhaskell-wip/neuter.tar.gz
Remove unnecessary gender from comments/docswip/neuter
While, say, alternating "he" and "she" in sequential writing may be nicer than always using "they", reading code/documentation is almost never sequential. If this small change makes individuals feel more welcome in GHC's codebase, that's a good thing.
Diffstat (limited to 'compiler/GHC/Core/Opt/SpecConstr.hs')
-rw-r--r--compiler/GHC/Core/Opt/SpecConstr.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Core/Opt/SpecConstr.hs b/compiler/GHC/Core/Opt/SpecConstr.hs
index ab36ad8f22..9dd4ab895b 100644
--- a/compiler/GHC/Core/Opt/SpecConstr.hs
+++ b/compiler/GHC/Core/Opt/SpecConstr.hs
@@ -1744,8 +1744,8 @@ Note [spec_usg includes rhs_usg]
In calls to 'specialise', the returned ScUsage must include the rhs_usg in
the passed-in SpecInfo, unless there are no calls at all to the function.
-The caller can, indeed must, assume this. He should not combine in rhs_usg
-himself, or he'll get rhs_usg twice -- and that can lead to an exponential
+The caller can, indeed must, assume this. They should not combine in rhs_usg
+themselves, or they'll get rhs_usg twice -- and that can lead to an exponential
blowup of duplicates in the CallEnv. This is what gave rise to the massive
performance loss in #8852.