Skip to content

unicode: Don't inline bitmap in generalCategory

Matthew Pickering requested to merge wip/general-catgeory into master

generalCategory contains a huge literal string but is marked INLINE, this will duplicate the string into any use site of generalCategory. In particular generalCategory is used in functions like isSpace and the literal gets inlined into this function which makes it massive.

https://github.com/haskell/core-libraries-committee/issues/130

Fixes #22949 (closed)

Merge request reports