Skip to main content

insert_schema_cache

Function insert_schema_cache 

Source
pub fn insert_schema_cache(sig: (u64, u64), order: Arc<Vec<String>>)
Expand description

Insert a discovered layout into the cache, evicting the oldest entry if the cache is at capacity. FxHashMap does not track insertion order, so we evict an arbitrary key; for a bounded cache this is sufficient and avoids adding an LRU dependency.