Expand description
Thread-local caching for parser performance optimization
This module provides thread-local storage for expensive parser operations to avoid repeated allocations and computations. Based on Rust Performance Book recommendations for high-performance parsing.
Structs§
- Cache
Stats - Get cache statistics for monitoring
Functions§
- build_
cached_ function - Build a function expression with cached name construction
- build_
expr_ list - Reuse Vec allocations for expression lists
- clear_
caches - Clear all thread-local caches
- get_
cache_ stats - Get current cache statistics
- get_
cached_ expression - Get a commonly used expression from cache
- get_
cached_ function_ name - Efficient function name construction with caching