crichez/swift-cuckoo-collections

Implement Set Algebra Operations

Closed this issue · 0 comments

Overview

CuckooSet should implement all swift Set algebra operations:

  • union(_:) & formUnion(_:)
  • intersection(_:) & formIntersection(_:)
  • symmetricDifference(_:) & formSymmetricDifference(_:)
  • subtracting(_:) * subtract(_:)

Background

These methods may declare constant-time complexity to close this issue. If the resulting complexity is worse than Set, a new issue should be opened to continue tracking performance long-term.