string_interner

Module backend

Source
Expand description

Backends for the StringInterner.

The backend is the method or strategy that handles the actual interning. There are trade-offs for the different kinds of backends. A user should find the backend that suits their use case best.

Structs§

  • An interner backend that reduces memory allocations by using string buckets.
  • An interner backend that appends all interned string information in a single buffer.
  • An interner backend that accumulates all interned string contents into one string.

Traits§

  • Types implementing this trait may act as backends for the string interner.

Type Aliases§