Skip to main content

generate

Function generate 

Source
pub fn generate(
    files: &[FileFeatures],
    config: &NearMatchConfig,
) -> NearMatchSet
Expand description

Generate near-match candidate unit pairs across files.

The result is a pure function of the input: the MinHash permutations are fixed, LSH bucketing is deterministic, and the emitted pairs are sorted, so file order only moves the file indices inside the unit references.