diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2023-02-09 16:17:05 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2023-02-17 09:37:16 +0000 |
commit | be0b7209c6aef22798fc4ba7baacd2099b5cb494 (patch) | |
tree | 97ff9900ff2afea0270f4d18afe3970691407ff3 /driver | |
parent | c6a967d9545ef5577514466f3fa6894f2899aff8 (diff) | |
download | haskell-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 'driver')
0 files changed, 0 insertions, 0 deletions