1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 22:50:59 +00:00
serenity/Userland
Timothy Flynn 444b2d9ec2 LibJS: Implement UTF-16 surrogate pair concatenation without iteration
Performance of string concatenation regressed in a57e2f9. That commit
iterates over the LHS string to find the last code unit, to check if it
is a high surrogate. Instead, first look at the 3rd-to-last byte in the
UTF-8 encoded string to check if it is a 3-byte code point; then decode
just those bytes to check if we have a high surrogate. Similarly, check
the first 3 bytes of the RHS string to check if we have a low surrogate.
2022-01-18 09:46:55 +00:00
..
Applets LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30
Applications TextEditor: Hookup git commit message detection and highlighting 2022-01-18 09:01:16 +01:00
Demos Everywhere: Fix spelling mistakes 2022-01-07 15:44:42 +01:00
DevTools HackStudio: Hookup git commit message detection and highlighting 2022-01-18 09:01:16 +01:00
DynamicLoader Toolchain+Meta: Update LLVM version to 13.0.0 2021-10-17 17:09:58 +01:00
Games Snake: Add link to help pages in menu 2022-01-13 03:45:17 -08:00
Libraries LibJS: Implement UTF-16 surrogate pair concatenation without iteration 2022-01-18 09:46:55 +00:00
Services WindowServer: Pick font with glyphs for digits for ScreenNumberOverlay 2022-01-17 02:10:09 +01:00
Shell Shell: Add a "noop" builtin aliased to ":" 2022-01-09 12:25:36 +01:00
Utilities disasm: Don't fail when trying to disassemble empty files 2022-01-18 09:08:14 +01:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00