Commonly used data structures for Swift
checkCollection
: Don’t pass decreasing indices to distance(from:to:)
(by @lorentey)Thank you to everyone who contributed to this release! Your bug reports, discussions and pull requests all help improve this package.
Deque.append(contentsOf:)
, .prepend(contentsOf:)
and the sequence-based initializer no longer crash when given an array instance bridged from Objective-C. (#27)OrderedSet.insert
is now marked @discardableResult
. (#19)(You can also find a full list of issues resolved and PRs merged in this release by looking at the 0.0.3 milestone.)
Thank you to everyone who contributed to this release! Your bug reports, discussions and pull requests all help improve this package.
OrderedSet
now implements an efficient, linear time diffing algorithm, like Foundation's NSOrderedSet
and SwiftUI's List
. (https://github.com/apple/swift-collections/pull/6)(You can also find a full list of issues resolved and PRs merged in this release by looking at the 0.0.2 milestone.)
Thank you to everyone who contributed to this release! Your bug reports, discussions and pull requests all help improve this package.
This is the initial release.