CosmicMind / CosmicMind/Algorithm

Discussion about dropping some collections

Offen
#17 2 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @adamdahan Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Swift
Sterne
827
Forks
82
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Let's leverage instead of re-write Apple collections: https://github.com/apple/swift-collections.git

I want to add these collections by adding `swift-collections` as a dependency.

```
Deque, a double-ended queue backed by a ring buffer. Deques are range-replaceable, mutable, random-access collections.

OrderedSet, a variant of the standard Set where the order of items is well-defined and items can be arbitrarily reordered. Uses a ContiguousArray as its backing store, augmented by a separate hash table of bit packed offsets into it.

OrderedDictionary, an ordered variant of the standard Dictionary, providing similar benefits.
```

In lieu of:

- Deque
- SortedDictionary

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.