CosmicMind / CosmicMind/Algorithm

Discussion about dropping some collections

Đang mở
#17 2 bình luận 0 reaction 1 người được giao Được @adamdahan nhận Xem trên GitHub
enhancement
Ngôn ngữ chính
Swift
Star
827
Fork
82
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.