Crates.io | projected-hash-map |
lib.rs | projected-hash-map |
version | 0.1.2 |
source | src |
created_at | 2022-01-02 11:39:33.18343 |
updated_at | 2022-01-02 11:55:32.60516 |
description | Implementation of a projected HashMap over HashSet |
homepage | |
repository | https://github.com/pmnoxx/projected-hash-map |
max_upload_size | |
id | 506505 |
size | 5,682 |
Projected hash hash map over hash set.
Often when storing objects inside a hashmap, their keys are already contained inside them. It's more efficient to store every key exactly once..
ProjectedHashMap
is implemented over HashSet
.
It's defined for pair <K, V
>, user of this crate needs to implement
Borrow<K> for V
.