Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0a35df21ef82fae63691253c903c0b48335ca5db
      
https://github.com/WebKit/WebKit/commit/0a35df21ef82fae63691253c903c0b48335ca5db
  Author: Chris Dumez <[email protected]>
  Date:   2026-03-23 (Mon, 23 Mar 2026)

  Changed paths:
    M Source/WTF/wtf/WeakHashMap.h
    M Source/WTF/wtf/WeakHashSet.h

  Log Message:
  -----------
  Address small inefficiency in WeakHashSet / WeakHashMap's hasNullReferences()
https://bugs.webkit.org/show_bug.cgi?id=310505

Reviewed by Darin Adler.

Use `auto&` instead of `auto` in the loop to avoid copying WeakPtrs,
which resulted in unnecessary atomic refcount churn.

* Source/WTF/wtf/WeakHashMap.h:
* Source/WTF/wtf/WeakHashSet.h:

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



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

Reply via email to