summaryrefslogtreecommitdiff
path: root/compiler/GHC/Builtin/PrimOps.hs
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-12-20 14:56:41 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-01-06 02:24:54 -0500
commitc080b44314248545c6ddea0c0eff02f8c9edbca4 (patch)
tree57eedf35d743c95e720f8ac6fe003b7f716d1fc8 /compiler/GHC/Builtin/PrimOps.hs
parente59bd46a6915c79e89d376aa22b0ae6def440e0a (diff)
downloadhaskell-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/Builtin/PrimOps.hs')
0 files changed, 0 insertions, 0 deletions