Expand description
String interning pool for reducing memory usage String interning pool for reducing memory usage
This module provides a string interning mechanism to avoid storing duplicate strings across the application, particularly useful for flag names and command names in large CLIs.
Structs§
- String
Pool - A thread-safe string interning pool
Functions§
- intern
- Interns a string in the global pool