get_cache_stats

Function get_cache_stats 

Source
pub fn get_cache_stats() -> CacheStats
Expand description

Get current cache statistics

ยงExamples

use mathhook_core::parser::cache::get_cache_stats;

let stats = get_cache_stats();
println!("Function name cache size: {}", stats.function_name_cache_size);