RESOLVED FIXED310706
Reserve HashSet / HashMap capacity in their respective IPC decoders
https://bugs.webkit.org/show_bug.cgi?id=310706
Summary Reserve HashSet / HashMap capacity in their respective IPC decoders
Chris Dumez
Reported 2026-03-25 05:21:39 PDT
Reverse HashSet / HashMap capacity in their respective IPC decoders, for better efficiency. It avoids rehashing every time we keep growing their buffer. As is done for Vector, we have a size limit to avoid huge memory allocations, given that we don't necessarily trust the sender of the IPC.
Attachments
Chris Dumez
Comment 1 2026-03-25 05:23:08 PDT
EWS
Comment 2 2026-03-25 21:12:19 PDT
Committed 309961@main (e31f4b9eeb27): <https://commits.webkit.org/309961@main> Reviewed commits have been landed. Closing PR #61324 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-03-25 21:13:13 PDT
Note You need to log in before you can comment on or make changes to this bug.