Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5fdba4ddf761ebb6fb1c3e90dd3c3802533d2466
      
https://github.com/WebKit/WebKit/commit/5fdba4ddf761ebb6fb1c3e90dd3c3802533d2466
  Author: Yusuke Suzuki <ysuz...@apple.com>
  Date:   2024-09-10 (Tue, 10 Sep 2024)

  Changed paths:
    M Source/JavaScriptCore/parser/SourceCodeKey.h

  Log Message:
  -----------
  [JSC] Use UnlinkedSourceCode comparison first for SourceCodeKey
https://bugs.webkit.org/show_bug.cgi?id=279403
rdar://135619153

Reviewed by Yijia Huang.

Comparing UnlinkedSourceCode is much cheaper than comparing StringView
since it is SourceProvider pointer + offset integers comparisons.
So let's first try this, and if it is unsure, use StringView comparison
next.

* Source/JavaScriptCore/parser/SourceCodeKey.h:
(JSC::SourceCodeKey::operator== const):

Canonical link: https://commits.webkit.org/283400@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