Skip to main content

sieve_volume_file

Function sieve_volume_file 

Source
pub fn sieve_volume_file(
    path: &Path,
    field: QuinField,
    needle: u64,
    scratch: &mut [NQuin],
    out: &mut [NQuin],
) -> Result<(SieveOutcome, usize), String>
Expand description

Read all Quins from path (single-file volume) into scratch, then compact matches into out. Fails closed if the volume is larger than scratch.