[webkit-changes] [WebKit/WebKit] 958f9e: [WTF] Add differenceWith and formDifference to WTF...

Yijia Huang noreply at github.com
Sun Nov 17 13:14:03 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 958f9ea25b9da16154b6edf22cb0ee1246eb90a7
      https://github.com/WebKit/WebKit/commit/958f9ea25b9da16154b6edf22cb0ee1246eb90a7
  Author: Yijia Huang <hyjorc1 at gmail.com>
  Date:   2024-11-17 (Sun, 17 Nov 2024)

  Changed paths:
    M Source/WTF/wtf/HashSet.h
    M Tools/TestWebKitAPI/Tests/WTF/HashSet.cpp

  Log Message:
  -----------
  [WTF] Add differenceWith and formDifference to WTF::HashSet
https://bugs.webkit.org/show_bug.cgi?id=283206
rdar://140004975

Reviewed by Yusuke Suzuki and Sam Weinig.

Add differenceWith and formDifference that compute a collection
with the elements of this set that are not in the given collection (a.k.a. A - B).

* Source/WTF/wtf/HashSet.h:
(WTF::W>::differenceWith const):
(WTF::W>::formDifference):

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



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


More information about the webkit-changes mailing list