Bug 252883 - use RobinHoodHashMap for large style rule tables
Summary: use RobinHoodHashMap for large style rule tables
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Cameron McCormack (:heycam)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-23 21:36 PST by Cameron McCormack (:heycam)
Modified: 2023-05-29 19:42 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron McCormack (:heycam) 2023-02-23 21:36:51 PST
The id and class tables in RuleFeatureSet and RuleSet can get big.  Let's try reducing their size by using RobinHoodHashMap.
Comment 1 Radar WebKit Bug Importer 2023-02-23 21:37:27 PST
<rdar://problem/105868369>
Comment 2 Cameron McCormack (:heycam) 2023-02-23 21:39:31 PST
Pull request: https://github.com/WebKit/WebKit/pull/10635
Comment 3 Cameron McCormack (:heycam) 2023-05-29 19:42:37 PDT
This did not help memory usage.