Simple, tiny symbols. Human-readable strings up to 8 bytes long that can be stored inline and manipulated efficiently.
If:
- you are working with human-readable strings that never exceed 8 bytes
- the set of strings is not fixed at compile time, so you can't use an enum
Then Simble offers: - efficient storage - fast comparisons and hashing
serde
: Lexical
and Printable
both serialize/deserialize like a
restricted StringEnable with the nightly
feature:
size_of::<Option<Lexical>> == 8