MCPcopy Create free account
hub / github.com/erans/pgsqlite / clear_cache

Method clear_cache

src/query/pattern_optimizer.rs:349–351  ·  view source on GitHub ↗

Clear pattern cache (useful for testing or memory management)

(&mut self)

Source from the content-addressed store, hash-verified

347
348 /// Clear pattern cache (useful for testing or memory management)
349 pub fn clear_cache(&mut self) {
350 self.pattern_cache.clear();
351 }
352
353 /// Get cache hit rate
354 pub fn get_cache_hit_rate(&self) -> f64 {

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected