Bug 261449 - Update RenderLayerBacking to store backingSharingLayers in a WeakListHashSet
Summary: Update RenderLayerBacking to store backingSharingLayers in a WeakListHashSet
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-11 19:08 PDT by Chris Dumez
Modified: 2023-09-12 12:23 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2023-09-11 19:08:43 PDT
Update RenderLayerBacking to store backingSharingLayers in a WeakListHashSet instead of a Vector. This is beneficial to performance as we keep doing linear searches in the vector otherwise.
Comment 1 Chris Dumez 2023-09-11 19:11:08 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17682
Comment 2 EWS 2023-09-12 12:22:19 PDT
Committed 267912@main (3a63df505058): <https://commits.webkit.org/267912@main>

Reviewed commits have been landed. Closing PR #17682 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-09-12 12:23:15 PDT
<rdar://problem/115378252>