Skip to main content

is_cached

Function is_cached 

Source
fn is_cached(
    map: &Arc<Map>,
    dir: Direction,
    from: Option<&[u8]>,
    to: Option<&[u8]>,
) -> bool
Expand description

Tests whether an initial seek can complete from block cache.

The probe uses the same direction and starting key as the real iterator without filling cache.