You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed inefficient optimization code from grapheme segmenter.
6
+
7
+
The single range cache is barely hit after the entire BMP cache is hit.
8
+
So removed it to reduce code size, and to reduce comparison count.
9
+
10
+
Worth occupying 64KB of linear memory for BMP. It should definitely be acceptable, as it still uses less heap memory size than executing graphemer's uncompressed code.
0 commit comments