mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-15 03:16:44 +02:00
While conceptually is_supported_property_index is a cheap index lookup, it is not currently cheap for an container such as HTMLAllCollection that is operating on an uncached collection. Instead - just do the lookup once. It also happens to look a little nicer to not blindly dereference an optional. (cherry picked from commit 22969a8e929eae00a45989acae99eb5a97269358)
24 KiB
24 KiB