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 摘要。