summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2023-02-09 16:17:05 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2023-02-17 09:37:16 +0000
commitbe0b7209c6aef22798fc4ba7baacd2099b5cb494 (patch)
tree97ff9900ff2afea0270f4d18afe3970691407ff3 /utils
parentc6a967d9545ef5577514466f3fa6894f2899aff8 (diff)
downloadhaskell-be0b7209c6aef22798fc4ba7baacd2099b5cb494.tar.gz
Add INLINABLE pragmas to `generic*` functions in Data.OldListwip/generic-inlinable
These functions are * recursive * overloaded So it's important to add an `INLINABLE` pragma to each so that they can be specialised at the use site when the specific numeric type is known. Adding these pragmas improves the LazyText replicate benchmark (see https://gitlab.haskell.org/ghc/ghc/-/issues/22886#note_481020) https://github.com/haskell/core-libraries-committee/issues/129
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions