Skip to main content

Module interner

Module interner 

Source
Expand description

String interner mapping atom names to dense AtomIds.

Ported from patch-prolog’s term.rs interner (same API), with two deliberate changes:

  • no serde/fnv dependencies (this crate ships in every compiled binary and must stay dependency-free)
  • pre-seeds the well-known atoms so fixed ids hold (see atom.rs)

Structs§

StringInterner