Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8d157ca86adbc37eef284094a27fb0dcce98bfaa
      
https://github.com/WebKit/WebKit/commit/8d157ca86adbc37eef284094a27fb0dcce98bfaa
  Author: Chris Dumez <[email protected]>
  Date:   2025-06-29 (Sun, 29 Jun 2025)

  Changed paths:
    M Source/WTF/wtf/text/StringImpl.cpp
    M Source/WTF/wtf/text/StringImpl.h
    M Tools/TestWebKitAPI/Tests/WTF/StringImpl.cpp

  Log Message:
  -----------
  Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in the StringImpl.cpp
https://bugs.webkit.org/show_bug.cgi?id=295162

Reviewed by Darin Adler.

Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in the StringImpl.cpp, for safety.
This tested as performance neutral on Speedometer and JetStream.

* Source/WTF/wtf/text/StringImpl.cpp:
(WTF::equalInner):
(WTF::StringImpl::replace):
(WTF::equalInternal):
(WTF::equalIgnoringNullity):
* Source/WTF/wtf/text/StringImpl.h:
(WTF::equal):

Canonical link: https://commits.webkit.org/296784@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to