Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f57623a33ebcdd21d4119e6ed9b61edb9a5c64a8
https://github.com/WebKit/WebKit/commit/f57623a33ebcdd21d4119e6ed9b61edb9a5c64a8
Author: Tyler Wilcock <[email protected]>
Date: 2025-06-19 (Thu, 19 Jun 2025)
Changed paths:
M Source/WebCore/accessibility/AXTextMarker.h
M Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp
M Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.h
Log Message:
-----------
AX: Decrease size of TextMarkerData and AXIsolatedTree with better member
variable ordering
https://bugs.webkit.org/show_bug.cgi?id=294690
rdar://153759692
Reviewed by Joshua Hoffman.
Re-order member variables to move small fields into space that would otherwise
be wasted by padding.
TextMarkerData (and thus AXTextMarker) size is decreased from 32 bytes to 28
bytes, in turn decreasing the size of
AXTextMarkerRange from 64 bytes to 56 bytes.
AXIsolatedTree size is decreased from 624 bytes to 576 bytes.
* Source/WebCore/accessibility/AXTextMarker.h:
* Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:
(WebCore::AXIsolatedTree::AXIsolatedTree):
* Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.h:
(WebCore::AXIsolatedTree::WTF_GUARDED_BY_LOCK):
Canonical link: https://commits.webkit.org/296418@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes