Skip to content

Add INLINABLE pragmas to `generic*` functions in Data.OldList

Matthew Pickering requested to merge wip/generic-inlinable into master

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 #22886 (comment 481020))

Merge request reports