Crate hash_str

Source

Structs§

HashStr
HashStr is a dynamically sized type so it is used similarly to &str. A hash is stored at the beginning followed by a str. The length is known by the fat pointer when in the form &HashStr.

Type Aliases§

HashStrMap
A standard HashMap using &HashStr as the key type with a custom Hasher that just uses the precomputed hash for speed instead of calculating it.
HashStrSet
A standard HashSet using &HashStr as the key type with a custom Hasher that just uses the precomputed hash for speed instead of calculating it.