mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 22:52:10 +02:00
The spec version of canonical_numeric_index_string is absurdly complex, and ends up converting from a string to a number, and then back again which is both slow and also requires a few allocations and a string compare. Instead lets use the logic we already have as that is much more efficient. This improves performance of all non-numeric property names.
53 KiB
53 KiB