mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-08 16:12:23 +02:00
The old approach was basically a linear scan, which is slower than a hash map for the currently 303 elements, as evidenced by the new benchmark in TestCSSIDSpeed. Before: Completed benchmark 'value_id_from_string' in 3238ms After: Completed benchmark 'value_id_from_string' in 193ms
4.1 KiB
4.1 KiB