mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 19:59:17 +00:00
Most JS::Objects don't have lazily-allocated intrinsic properties, so let's avoid doing hash lookups by putting a flag on JS::Object that tells us whether it's present in s_intrinsics. Takes CPU time spent in those hash lookups from 1-2.5% to nothing on various JS heavy pages.
50 KiB
50 KiB