[webkit-changes] [WebKit/WebKit] a25823: Increase the initial capacity of mutable dictionar...
Ryosuke Niwa
noreply at github.com
Tue Jan 7 02:01:51 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a25823782f1e010ad30ec2b6cc4d2ccca9503340
https://github.com/WebKit/WebKit/commit/a25823782f1e010ad30ec2b6cc4d2ccca9503340
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2025-01-07 (Tue, 07 Jan 2025)
Changed paths:
M Source/WebKit/Shared/Cocoa/CoreIPCNSURLRequest.h
M Source/WebKit/Shared/Cocoa/CoreIPCNSURLRequest.mm
Log Message:
-----------
Increase the initial capacity of mutable dictionary in CoreIPCNSURLRequest::toID() after 287632 at main
https://bugs.webkit.org/show_bug.cgi?id=285499
Reviewed by Anne van Kesteren.
Increase the initial capacity of NSMutableDictionary to 44 from 43. Also define a named constant in
CoreIPCNSURLRequestData at the end of declaration instead of hard-coding a magic number.
* Source/WebKit/Shared/Cocoa/CoreIPCNSURLRequest.h:
* Source/WebKit/Shared/Cocoa/CoreIPCNSURLRequest.mm:
(WebKit::CoreIPCNSURLRequest::toID const):
Canonical link: https://commits.webkit.org/288517@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