Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b435e1cf55679f7a03896808fbb8ca0f4d452374
https://github.com/WebKit/WebKit/commit/b435e1cf55679f7a03896808fbb8ca0f4d452374
Author: Chris Dumez <[email protected]>
Date: 2026-03-26 (Thu, 26 Mar 2026)
Changed paths:
M Source/WebCore/platform/SharedBuffer.cpp
Log Message:
-----------
FragmentedSharedBuffer::toHexString() could reserve capacity before appending
https://bugs.webkit.org/show_bug.cgi?id=310772
Reviewed by Ryosuke Niwa.
Result is always exactly `size() * 2` characters. Reserving avoids
reallocations.
* Source/WebCore/platform/SharedBuffer.cpp:
(WebCore::FragmentedSharedBuffer::toHexString const):
Canonical link: https://commits.webkit.org/310025@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications