mirror of
https://github.com/apple/swift-collections
synced 2026-11-26 04:47:48 +00:00
Doubling the other model's elements only exposes an implementation that counts occurrences instead of distinct members when the two sets share at least half of the receiver's elements, which depended on the models a test happened to pick. A BitSet.isStrictSubset that counted duplicates passed every model pair. Repeat the other model `xm.count + 2` times instead, so a shared element always appears more often than the receiver has members. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>