Skip to main content

Module fusion

Module fusion 

Source
Expand description

DX Fusion Mode - Pre-Compiled Template System

Inspired by dx-js-bundler’s fusion mode for 0.7ms template loading.

Structs§

BinaryCache
Persistent binary cache
CacheEntry
Cache entry metadata
CacheKey
Cache key (based on template and source hashes)
FusionHeader
Fusion header (64 bytes)
FusionModule
Fusion module (compiled template)
HotCache
Hot template cache with LRU eviction
PredictionEngine
Prediction engine for template access patterns
SpeculativeLoader
Speculative loader for prefetching templates
TemplateCacheEntry
Cached template entry
TemplateSlot
Template slot (16 bytes)

Constants§

FUSION_MAGIC
Fusion format magic bytes
FUSION_VERSION
Fusion format version