Crate hstr

Crate hstr 

Source
Expand description

See Atom for more information.

Modules§

wtf8
Implementation of the WTF-8 encoding.

Macros§

atom
Create an atom from a string literal. This atom is never dropped.

Structs§

Atom
An immutable string which is cheap to clone, compare, hash, and has small size.
AtomStore
A store that stores Atoms. Can be merged with other AtomStores for better performance.
Wtf8Atom
A WTF-8 encoded atom. This is like Atom, but can contain unpaired surrogates.

Functions§

global_atom_store_gc
Cleans up atoms in the global store that are no longer referenced.