projected-hash-map

Crates.ioprojected-hash-map
lib.rsprojected-hash-map
version0.1.2
sourcesrc
created_at2022-01-02 11:39:33.18343
updated_at2022-01-02 11:55:32.60516
descriptionImplementation of a projected HashMap over HashSet
homepage
repositoryhttps://github.com/pmnoxx/projected-hash-map
max_upload_size
id506505
size5,682
Piotr Mikulski (pmnoxx)

documentation

README

Projected hash hash map over hash set.

Overview

Often when storing objects inside a hashmap, their keys are already contained inside them. It's more efficient to store every key exactly once..

Implementation

ProjectedHashMap is implemented over HashSet.

It's defined for pair <K, V>, user of this crate needs to implement Borrow<K> for V.

Commit count: 10

cargo fmt