1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-19 20:51:00 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators
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
..
IPCCompiler IPCCompiler: Add option to pass output file path 2023-07-07 06:41:51 -04:00
LibEDID LibEDID: Ignore duplicate PNP IDs 2023-06-08 13:03:14 +02:00
LibGL AK: Propagate errors from SourceGenerator::fork() 2023-06-17 17:48:06 +01:00
LibLocale LibLocale: Avoid unnecessary HashMap copy 2023-05-19 22:33:57 +02:00
LibTimeZone LibTimeZone+Userland: Change timezone functions to use UnixDateTime 2023-05-24 23:18:07 +02:00
LibUnicode LibUnicode: Search code point properties sequentially at compile time 2023-07-28 05:28:50 +02:00
LibWeb LibJS+LibWeb: Move IteratorOperations.h AOs to Iterator.h 2023-07-19 14:11:43 +01:00
StateMachineGenerator AK: Propagate errors from SourceGenerator::fork() 2023-06-17 17:48:06 +01:00
CMakeLists.txt LibGL: Generate the API wrappers 2022-12-20 10:42:31 +01:00