Crate symbol_table

source ·
Expand description

This crate provides an easy-to-use SymbolTable that’s fast, suitable for concurrent access, and provides stable &str references for resolved symbols.

With the global feature enabled, the provided GlobalSymbol type provides a lot of convenience methods and trait implementations for converting to/from strings.

Structs

A BuildHasher that builds a determinstically seeded AHasher
A interned string in the global symbol table.
An interned symbol.
A table in which you can intern strings and get back Symbols.

Constants

The default number of sharded in the SymbolTable.