Module performance_optimizations

Module performance_optimizations 

Source
Expand description

Performance optimizations for the Ruchy compiler

PMAT A+ Quality Standards:

  • Maximum cyclomatic complexity: 10
  • No TODO/FIXME/HACK comments
  • 100% test coverage for new functions

Structsยง

CacheStats
Cache performance statistics
CompilationCache
AST-based compilation cache with LRU eviction
ParserPool
Thread-safe parser pool for reuse
PoolStatsSummary
Summary of pool statistics
StringInterner
Memory-efficient string interning