Module string_pool

Module string_pool 

Source
Expand description

Global string pool system for memory optimization

This module provides a global string interning system to reduce memory usage by sharing common strings across the application. All string fields in AllocationInfo and related structures use Arc<str> backed by this pool.

Structs§

StringPool
Global string pool for memory-efficient string storage
StringPoolStats
Statistics about string pool usage

Functions§

get_string_pool_stats
Get statistics about the global string pool
intern_string
Intern a string using the global string pool