Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 359ed842a71ba2796cb4b1b5db6a9cc7eaebe8a9
      
https://github.com/WebKit/WebKit/commit/359ed842a71ba2796cb4b1b5db6a9cc7eaebe8a9
  Author: Yusuke Suzuki <ysuz...@apple.com>
  Date:   2025-08-04 (Mon, 04 Aug 2025)

  Changed paths:
    A JSTests/microbenchmarks/string-compare-less.js
    M Source/WTF/wtf/text/StringImpl.h

  Log Message:
  -----------
  [WTF] Add chunked scanning for codePointCompare
https://bugs.webkit.org/show_bug.cgi?id=280720
rdar://137091233

Reviewed by Yijia Huang.

Add 4-character-sized chunk scanning for codePointCompare to quickly
check the string comparison results. This improves string compare
operation performance.

                                    ToT                     Patched

    string-compare-less       62.2522+-0.3535     ^     55.1818+-0.3134        
^ definitely 1.1281x faster

* JSTests/microbenchmarks/string-compare-less.js: Added.
(test):
(string_appeared_here):
* Source/WTF/wtf/text/StringImpl.h:
(WTF::codePointCompare):

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



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

Reply via email to