Crates.io | vec_key_value_pair |
lib.rs | vec_key_value_pair |
version | 0.2.0 |
source | src |
created_at | 2023-12-29 05:34:25.901996 |
updated_at | 2024-06-08 23:49:30.684728 |
description | A drop-in replacement for std::HashMap and std::HashSet that use Vec on the backend |
homepage | |
repository | https://github.com/Ciubix8513/vec_key_value_pair |
max_upload_size | |
id | 1082983 |
size | 69,063 |
A drop in replacement for std::HashMap
and std::HashSet
that use Vec
on the backend.
Meant for small maps, where you need the key-value pair structure, but don't want to pay for the expensive hashing.
Can also be used for types that don't implement Hash
In the worst case scenario the performance of this data structure is O(n)