hash_str 0.0.1

Strings with a precomputed hash.
Documentation

hash_str

Strings with Precomputed Hash

A simple library for strings with a precomputed hash.

Features:

  • Create HashStr with precomputed hash
  • Create HashStrMap using HashStr's precomputed hash

Broken Features:

  • Intern strings into an explicit cache

Wishlist:

  • Create HashStr at compile time with a macro, deduplicated
  • Intern strings into a global cache like ustr

Non-Goals:

  • Dynamic string type like std String