mirror of
https://github.com/apple/swift-collections
synced 2026-11-24 04:27:53 +00:00
Key Changes:
- SortedSet
- Implement Partial RangeReplaceableCollection
- Implement ExpressibleByArrayLiteral
- Implement init<S: Sequence>(_: S)
- Implement Set methods:
- update(with:) / insert(_:) / contains(_:)
- SortedDictionary
- Implement SortedDictionary.Values: BidirectionalCollection
- Implement SortedDictionary.Keys: BidirectionalCollection
- _BTree
- Implement Partial RangeReplaceableCollection
- Implement Sequence
- Add high performance linear iterator
Minor Changes:
- Benchmarks
- Clean up benchmarks
- _Node.UnsafeHandle
- @freeze enum InsertionResult
- _Node.Storage
- Use UnsafeMutablePointer instead of ManagedBuffer
Refactors:
- Various refactors for method signatures and documentation.