Expand description
Global string interning for reducing memory allocations.
Provides a thread-safe string interner that deduplicates strings across the entire codebase, reducing memory usage and enabling fast pointer-based string comparisons.
Structs§
- String
Interner - Thread-safe string interner using DashMap.
Statics§
- GLOBAL_
INTERNER - Global thread-safe string interner.
Functions§
- intern
- Interns a string slice using the global interner.
- intern_
owned - Interns an owned String using the global interner.