CosmicMind / CosmicMind/Algorithm

Discussion about dropping some collections

オープン
#17 コメント 2 件 リアクション 0 件 担当者 1 名 @adamdahan が担当を希望しています GitHub で見る
enhancement
主要言語
Swift
スター
827
フォーク
82
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。