diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2021-12-20 14:56:41 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-01-06 02:24:54 -0500 |
commit | c080b44314248545c6ddea0c0eff02f8c9edbca4 (patch) | |
tree | 57eedf35d743c95e720f8ac6fe003b7f716d1fc8 /compiler/ghc.cabal.in | |
parent | e59bd46a6915c79e89d376aa22b0ae6def440e0a (diff) | |
download | haskell-c080b44314248545c6ddea0c0eff02f8c9edbca4.tar.gz |
Perf: use SmallArray for primops' Ids cache (#20857)
SmallArray doesn't perform bounds check (faster).
Make primop tags start at 0 to avoid index arithmetic.
Diffstat (limited to 'compiler/ghc.cabal.in')
-rw-r--r-- | compiler/ghc.cabal.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in index 487fd7971c..89c6bfb51f 100644 --- a/compiler/ghc.cabal.in +++ b/compiler/ghc.cabal.in @@ -376,6 +376,7 @@ Library GHC.Data.Maybe GHC.Data.OrdList GHC.Data.Pair + GHC.Data.SmallArray GHC.Data.Stream GHC.Data.Strict GHC.Data.StringBuffer |