1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 23:12:08 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators
Timothy Flynn ca2b030336 LibUnicode: Use binary search for lookups into the generated emoji data
This sorts the array of generated emoji data by code point (first by
code point length, then by code point value). This lets us use a binary
search to find emoji data, rather than the current linear search.

In a profile of scrolling around /home/anon/Documents/emoji.txt, this
reduces the runtime of Gfx::Emoji::emoji_for_code_points from 69.03% to
28.42%. Within that, Unicode::find_emoji_for_code_points reduces from
28.42% to just 1.95%.
2023-03-05 16:44:20 +01:00
..
IPCCompiler AK+Everywhere: Make GenericLexer::ignore_until() stop before the value 2023-02-28 12:55:10 +00:00
LibEDID Userland+AK: Stop using getopt() for ArgsParser 2023-02-28 15:52:24 +03:30
LibGL LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
LibLocale Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
LibTimeZone LibTimeZone: Propagate try_append() errors while building timezone data 2023-02-24 22:18:25 +01:00
LibUnicode LibUnicode: Use binary search for lookups into the generated emoji data 2023-03-05 16:44:20 +01:00
LibWeb LibWeb: Remove unused SourceGenerator mappings 2023-03-05 15:37:33 +00:00
StateMachineGenerator LibCore: Remove Stream.h 2023-02-13 00:50:07 +00:00
CMakeLists.txt LibGL: Generate the API wrappers 2022-12-20 10:42:31 +01:00