String Interning
Fast and efficient string interning with a simple API.
Features
- Intern strings and get a unique ID for each string.
- Initialize with a pre-allocated capacity.
Installation
Add the following to your Cargo.toml
:
[]
= "0.1.0"
Usage
use Intern;
let mut interner = new;
let id = interner.intern;
assert_eq!;