[webkit-changes] [WebKit/WebKit] 976416: AX: AccessibilityObject::m_lastKnownIsIgnoredValue...
Tyler Wilcock
noreply at github.com
Sun May 5 07:40:19 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 976416306c9f8fb8b5811e69abffef8a1b0f35c4
https://github.com/WebKit/WebKit/commit/976416306c9f8fb8b5811e69abffef8a1b0f35c4
Author: Tyler Wilcock <tyler_w at apple.com>
Date: 2024-05-05 (Sun, 05 May 2024)
Changed paths:
M Source/WebCore/accessibility/AXCoreObject.h
Log Message:
-----------
AX: AccessibilityObject::m_lastKnownIsIgnoredValue is 3 bytes larger than it needs to be, wasting memory
https://bugs.webkit.org/show_bug.cgi?id=273743
rdar://problem/127560808
Reviewed by Chris Fleizach.
AccessibilityObjectInclusion only has three variants, so it can be sized as a uint8_t. Right now it's sized as the
default type for enum class, int, which is 4 bytes.
This saves 1.7mb on http://html.spec.whatwg.org when using VoiceOver (567769 AccessibilityObjects * 3 bytes saved each).
* Source/WebCore/accessibility/AXCoreObject.h:
Canonical link: https://commits.webkit.org/278391@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list