Module cache

Module cache 

Source
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§

CacheStats
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