spiraldb/vortex

Too easy to bypass statistics cache

Closed this issue · 0 comments

let a = PrimitiveArray(...)
a.compute_min() // This doesn't cache...
a.as_ref().statistics().compute_min() // This DOES cache since as_ref turns it into &Array