Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0654994acd801ec15865e97a7458f1e2338cbfb8
      
https://github.com/WebKit/WebKit/commit/0654994acd801ec15865e97a7458f1e2338cbfb8
  Author: Tim Horton <[email protected]>
  Date:   2026-03-12 (Thu, 12 Mar 2026)

  Changed paths:
    M Source/JavaScriptCore/create_hash_table

  Log Message:
  -----------
  create_hash_table spends a lot of time evaluating needless regular expressions
https://bugs.webkit.org/show_bug.cgi?id=309846
rdar://172422832

Reviewed by Richard Robinson, Abrar Rahman Protyasha, Yusuke Suzuki, and Jer 
Noble.

* Source/JavaScriptCore/create_hash_table:
Flip the short-circuiting here, which saves ~10 seconds on a local clean build,
as the large regex is rather expensive, and running it on a limited number of 
lines
instead of the whole file is a win.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to