Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: c5bb7e500378f892814484eca2648286358c10ae https://github.com/WebKit/WebKit/commit/c5bb7e500378f892814484eca2648286358c10ae Author: Chris Dumez <cdu...@apple.com> Date: 2023-03-31 (Fri, 31 Mar 2023)
Changed paths: M Source/WTF/wtf/text/StringImpl.cpp Log Message: ----------- Add a fast abort path for StringImpl's equalInternal() https://bugs.webkit.org/show_bug.cgi?id=254766 Reviewed by Darin Adler and Geoffrey Garen. Abort early if the first character is not equal instead of calling equal() with all the characters unconditionally. * Source/WTF/wtf/text/StringImpl.cpp: (WTF::equalInternal): Canonical link: https://commits.webkit.org/262465@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes