Rust and Python Names
| Rust | Python | Python variants |
|---|---|---|
bit_set::PagedBitSet<u32> | BitSet | DEFAULT_BIT_PAGE_SIZE (64-bit words) |
sparse_set::PagedSparseSet<u32> | SparseSet | |
sparse_map::PagedSparseMap<u32, V> | SparseMap | SparseMapF64, F32, I64, I32, U64, U32, Bool; sparse_map(dtype) |
sparse_map::PagedSparseMap<Id, V> | IdMap | IdMapF64, …; id_map(dtype) |
direct_map::PagedDirectMap<u32, V> | DirectMap | DirectMapF64, …; direct_map(dtype) |
priority_queue::PagedPriorityQueue<u32, P> | PriorityQueue (int64), PriorityQueueF64 | min=True; priority_queue(dtype) |
paged_vec::PagedVec<T> | PagedList | PagedListF64, …; paged_list(dtype) |
paged_deque::PagedDeque<T> | PagedDeque | |
hive::Hive<T> | Hive | |
id_alloc::IdAllocator, Id | IdAllocator, packed int ids | id_index, id_generation, make_id, id_indices |
concurrent::ConcurrentSparseSet<u32> | ConcurrentSparseSet | |
concurrent::ConcurrentSparseMap<u32, V> | ConcurrentSparseMapF64, … | typed only; concurrent_sparse_map(dtype) |
concurrent::ConcurrentDirectMap<u32, V> | ConcurrentDirectMapF64, … | typed only; concurrent_direct_map(dtype) |
concurrent::ConcurrentHive, ConcurrentAppendHive, ConcurrentPagedVec, AtomicDirectMap, AtomicIdMap, ConcurrentIdAllocator | Rust only | |
PAGE const generic | page_size= keyword | PAGE_SIZES, DEFAULT_PAGE_SIZE |
page::Flat, Radix, Tree | always Flat |
Module constants: KEY_LIMIT (232), MAX_GENERATION (231),
MAX_INDICES.
Reference documentation:
- Rust: docs.rs/paged-collections
- Python:
_core.pyi(type stubs; also used by IDEs)