Symbol Interner
A small Rust crate that provides a naïve string interner. Consult the [documentation] to learn about the types that are exposed.
Installation
Add the following to your Cargo.toml
file:
[]
= "0.1"
Usage
You can create a new interner and store symbols using the Interner::new()
and Interner.intern()
methods.
use *;
let mut interner = default;
let mut offset: = interner.intern;
assert_eq!;