Jonathan Kew 91152cebf4 Bug 1820504 - Optimize GraphemeClusterBreakIteratorUtf16::Next by making the evaluation of baseIsEmoji lazy. r=TYLin
This doesn't change behavior, but takes the emoji property lookup out of the hot path.

Credit to the Betterbird project for noting this in their profiling work, as recorded in
https://bugzilla.mozilla.org/show_bug.cgi?id=1812386#c7

Differential Revision: https://phabricator.services.mozilla.com/D171698
2023-03-07 09:51:12 +00:00
..