Skip to content

v1.17.0 — audit.py --index: read the registry by offset

Choose a tag to compare

@CesarRivasP CesarRivasP released this 30 Sep 21:12
· 101 commits to main since this release
afb7ab7

python3 scripts/audit.py <dir> --index prints every top-level key and every entry of _facts.yml with its line span and enum labels (kind, role, basis, status). A round reads the entries it touches by offset instead of the whole registry.

Measured: a 142KB registry indexes in 6KB, a 307KB one in 11KB (0.4 s). Spans come from the YAML parser's marks and stop at the entry — the comment above and the blank after belong to neither.

Closes #45 · PR #44