MCPcopy Create free account
hub / github.com/Fullstop000/wickdb / get_overlapping_inputs

Method get_overlapping_inputs

src/version/mod.rs:496–545  ·  view source on GitHub ↗

Return all files in `level` that overlap [`begin`, `end`] Notice that both `begin` and `end` is `InternalKey` but we just compare the user key directly. Since files in level0 probably overlaps with each other, the final output total range could be larger than [begin, end] A `None` begin is considered as -infinite A `None` end is considered as +infinite

(
        &self,
        level: usize,
        begin: Option<&InternalKey>,
        end: Option<&InternalKey>,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

compact_rangeMethod · 0.80
pick_compactionMethod · 0.80
setup_other_inputsMethod · 0.80

Calls 5

user_keyMethod · 0.80
cloneMethod · 0.80
iterMethod · 0.45
compareMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected