CosmicMind / CosmicMind/Algorithm

Discussion about dropping some collections

未關閉
#17 2 則留言 0 個 reaction 已指派 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 摘要。