Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7fd5ef8284261c910d98079ad5701b769397c13b
https://github.com/WebKit/WebKit/commit/7fd5ef8284261c910d98079ad5701b769397c13b
Author: Chris Dumez <[email protected]>
Date: 2025-12-31 (Wed, 31 Dec 2025)
Changed paths:
M Source/WTF/wtf/text/StringCommon.h
Log Message:
-----------
Simplify strlenSpan()
https://bugs.webkit.org/show_bug.cgi?id=304802
Reviewed by Darin Adler.
Simplify strlenSpan() by leveraging `strnlen()`. `strnlen()` is usually
highly optimized as well.
* Source/WTF/wtf/text/StringCommon.h:
(WTF::requires):
Canonical link: https://commits.webkit.org/305022@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications