Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cd68efecfe6b9bfbf57ae08ae83710679ed9aae7
https://github.com/WebKit/WebKit/commit/cd68efecfe6b9bfbf57ae08ae83710679ed9aae7
Author: Geoffrey Garen <[email protected]>
Date: 2025-12-10 (Wed, 10 Dec 2025)
Changed paths:
M Source/WTF/wtf/HashTable.h
M Source/WTF/wtf/ListHashSet.h
M Source/WTF/wtf/RobinHoodHashTable.h
M Source/WTF/wtf/WeakHashMap.h
M Source/WTF/wtf/WeakHashSet.h
M Source/WTF/wtf/WeakListHashSet.h
M Tools/TestWebKitAPI/Tests/WTF/HashMap.cpp
M Tools/TestWebKitAPI/Tests/WTF/HashSet.cpp
M Tools/TestWebKitAPI/Tests/WTF/ListHashSet.cpp
Log Message:
-----------
Push logic for skipping weak null when iterating down into HashTable
https://bugs.webkit.org/show_bug.cgi?id=303882
<rdar://problem/166176904>
Reviewed by Ryosuke Niwa.
This is the final step toward a more efficient weak pointer.
There's no longer any meaningful difference between
WeakHashSet<T> <==> HashSet<WeakPtr<T>>
WeakListHashSet<T> <==> ListHashSet<WeakPtr<T>>
WeakHashMap<T, U> <==> HashMap<WeakPtr<T>, U>
So it should be easy to start doing
HashSet<MoreEfficientWeakPtr<T>>
ListHashSet<MoreEfficientWeakPtr<T>>
HashMap<MoreEfficientWeakPtr<T>, U>
We should also be able remove the specialty weak table types over time, for
simplicity.
Canonical link: https://commits.webkit.org/304267@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications