mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 15:44:57 +00:00
![]() 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%. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
GenerateEmojiData.cpp | ||
GenerateUnicodeData.cpp | ||
GeneratorUtil.h |