forked from apple/swift-collections
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This type was one of the prototypes for `OrderedSet` — it allowed us to customize the collection type used for element storage. (E.g., using `Deque` instead of `Array` to get efficient insertions at the front.) The original idea was that `OrderedSet` would simply be a typealias: ```swift typealias OrderedSet<Element> = Uniqued<Array<Element>> ``` Unfortunately, while this concept is intellectually pleasing, in practice it just made the interface more complicated (and, in some cases, slower). Worse, it cannot be directly translated to an `OrderedDictionary`-style key-value mapping without major usability problems. # Conflicts: # Package.swift
- Loading branch information
Showing
33 changed files
with
0 additions
and
6,186 deletions.
There are no files selected for viewing
78 changes: 0 additions & 78 deletions
78
.swiftpm/xcode/xcshareddata/xcschemes/UniquedModule.xcscheme
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 0 additions & 27 deletions
27
Sources/UniquedModule/RandomAccessCollection+Offsets.swift
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
Sources/UniquedModule/Uniqued+CustomDebugStringConvertible.swift
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
Sources/UniquedModule/Uniqued+CustomStringConvertible.swift
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
Sources/UniquedModule/Uniqued+ExpressibleByArrayLiteral.swift
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.