ladybird/Meta/Lagom/Tools/CodeGenerators/LibUnicode
Timothy Flynn 3fae92eea2 LibUnicode: Search code point properties sequentially at compile time
When generating code point property tables, we currently binary search
the code point range lists for each property to decide if a code point
has that property. However, we are both iterating over the code points
and through the sorted properties in order. This means we do not need
to search code point ranges that are below the current code point at
all. We can even remove the code point ranges that fall below the
current code point, as we will not see a code point in those ranges
again.

On my machine, this reduces the run time of GenerateUnicodeData from
3.4 seconds to 1.2 seconds.
2023-07-28 05:28:50 +02:00
..
CMakeLists.txt LibUncode: Parse and generate emoji code point data 2022-09-08 23:12:31 +01:00
GenerateEmojiData.cpp AK: Add the Input word to input-only buffered streams 2023-05-09 11:18:46 +02:00
GenerateUnicodeData.cpp LibUnicode: Search code point properties sequentially at compile time 2023-07-28 05:28:50 +02:00
GeneratorUtil.h AK: Add the Input word to input-only buffered streams 2023-05-09 11:18:46 +02:00