1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:34:57 +00:00
serenity/Userland
Andreas Kling 0ad4be3d78 LibJS: Skip redundant UTF-8 validation in rope string resolution
When resolving a rope, we've already taken care to resolve it to
a UTF-8 byte stream. There's no need to do a separate pass just for
validating the data again.

This was noticeable in some profiles. I made a simple microbenchmark
that gets a 30% speed-up:

    ("x" + "y".repeat(100_000_000)).trimStart()
2023-12-30 13:49:50 +01:00
..
Applets Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
Applications Userland: Actually use the correct character map index from KeyEvent 2023-12-29 16:40:59 +01:00
BuggieBox checksum: Add support for BLAKE2b 2023-09-17 16:49:35 +03:30
Demos Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
DevTools Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
DynamicLoader Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Games Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Libraries LibJS: Skip redundant UTF-8 validation in rope string resolution 2023-12-30 13:49:50 +01:00
Services LibWeb: Apply scroll boxes offsets after painting commands recording 2023-12-30 11:10:24 +01:00
Shell Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
Utilities headless-browser: Use run_dump_test() for single-test runs as well 2023-12-24 13:23:40 +01:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00