Function compute

Source
pub fn compute(catalog: &Catalog) -> Stats
Expand description

Runs through the whole catalog and produces the counts, breakdowns and completeness ratios.

The cost grows with the size of the library; call it when the catalog has settled rather than after each change.