Skip to main content

Module compilation_cache

Module compilation_cache 

Source
Expand description

Query compilation result caching with LRU eviction.

This module provides caching for schema compilation results, avoiding redundant compilation of identical schemas. Uses fingerprinting (SHA-256) for cache key generation.

Structsยง

CachedCompilation
Cache entry for compiled schema with metadata.
CompilationCache
Thread-safe LRU cache for compiled schemas.
CompilationCacheConfig
Configuration for compilation cache.
CompilationCacheMetrics
Metrics for compilation cache monitoring.