Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c0b2534060e4f4d3eee49ae9e180a29f668df0d0
https://github.com/WebKit/WebKit/commit/c0b2534060e4f4d3eee49ae9e180a29f668df0d0
Author: Chris Dumez <[email protected]>
Date: 2023-03-10 (Fri, 10 Mar 2023)
Changed paths:
M Source/WTF/wtf/text/WTFString.cpp
M Source/WTF/wtf/text/WTFString.h
Log Message:
-----------
Use the initializer list to initialize String::m_impl
https://bugs.webkit.org/show_bug.cgi?id=253730
Reviewed by Yusuke Suzuki.
Use the initializer list to initialize String::m_impl, instead of doing it in
the constructor's body. This should be slightly more efficient.
* Source/WTF/wtf/text/WTFString.cpp:
(WTF::String::String):
* Source/WTF/wtf/text/WTFString.h:
(WTF::String::String):
Canonical link: https://commits.webkit.org/261530@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes