[webkit-reviews] review granted: [Bug 249873] AX: Pre-size AXIsolatedObject::m_propertyMap to avoid unnecessary HashTable reallocations : [Attachment 464196] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Dec 24 11:48:50 PST 2022


chris fleizach <cfleizach at apple.com> has granted  review:
Bug 249873: AX: Pre-size AXIsolatedObject::m_propertyMap to avoid unnecessary
HashTable reallocations
https://bugs.webkit.org/show_bug.cgi?id=249873

Attachment 464196: Patch

https://bugs.webkit.org/attachment.cgi?id=464196&action=review




--- Comment #3 from chris fleizach <cfleizach at apple.com> ---
Comment on attachment 464196
  --> https://bugs.webkit.org/attachment.cgi?id=464196
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=464196&action=review

> Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:57
> +    m_propertyMap.reserveInitialCapacity(126);

Is there a way to calculate this number less manually


More information about the webkit-reviews mailing list