ladybird/Tests/LibUnicode
Timothy Flynn 456211932f LibUnicode: Perform code point case conversion lookups in constant time
Similar to commit 0652cc4, we now generate 2-stage lookup tables for
case conversion information. Only about 1500 code points are actually
cased. This means that case information is rather highly compressible,
as the blocks we break the code points into will generally all have no
casing information at all.

In total, this change:

    * Does not change the size of libunicode.so (which is nice because,
      generally, the 2-stage lookup tables are expected to trade a bit
      of size for performance).

    * Reduces the runtime of the new benchmark test case added here from
      1.383s to 1.127s (about an 18.5% improvement).
2023-07-28 05:28:50 +02:00
..
CMakeLists.txt LibUnicode: Add a unit test for Unicode grapheme and word segmentation 2023-02-25 22:23:39 +01:00
TestEmoji.cpp LibUnicode: Detect ZWJ sequences when filtering by emoji presentation 2023-03-05 20:21:57 +01:00
TestSegmentation.cpp LibUnicode: Add a unit test for Unicode grapheme and word segmentation 2023-02-25 22:23:39 +01:00
TestUnicodeCharacterTypes.cpp LibUnicode: Perform code point case conversion lookups in constant time 2023-07-28 05:28:50 +02:00
TestUnicodeNormalization.cpp LibUnicode+LibJS: Propagate OOM from Unicode normalization 2023-01-09 22:48:15 +00:00