| Crates.io | arrayset |
| lib.rs | arrayset |
| version | 3.1.1 |
| created_at | 2023-12-11 20:31:54.98574+00 |
| updated_at | 2024-11-21 02:48:16.572931+00 |
| description | An array-backed ordered set type. |
| homepage | |
| repository | https://forge.axfive.net/Taylor/arrayset |
| max_upload_size | |
| id | 1065554 |
| size | 79,638 |
An Ord-based, array-backed set and map type.
OrdSet<T, N> is a set type backed by a [T; N] array. It behaves much like a
BTreeSet, but with a static size and no nodes. It's all a single array. This
means that insertions into the middle can be very slow. This also allows
getting the entire set as a sorted slice.
OrdMap<K, V, N> is a map type backed by a [K; N] and a [V; N] array. It
has most of the same considerations as OrdSet, but for a map type.