Expand description
Sharing-optimized strings and string interning utilities.
stringtheory
provides two main components: a sharing-optimized string type, MetaString
, and string interning
implementations (FixedSizeInterner
, GenericMapInterner
, etc). These components are meant to work in concert,
allowing for using a single string type that can handle owned, shared, and interned strings, and providing a way to
efficiently intern strings strings when possible.
Modules§
- interning
- Interning utilities.
Structs§
- Meta
String - An immutable string type that abstracts over various forms of string storage.
Traits§
- Cheap
Meta String - A string type that can be cheaply cloned into a
MetaString
.