Module string_interner::backend[][src]

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.

A simple backend that stores a separate allocation for every interned string.

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 Definitions

The default backend recommended for general use.