The command now supports reopening existing indexes instead of failing when the output file exists. Control flow branches between opening an existing index and constructing a new one, moving configuration setup exclusively to the creation path. Directory existence is enforced upfront with proper I/O error propagation. The --force flag retains its original semantics by removing the target directory before proceeding with a fresh build.
931 B
931 B
Coverage: implementation/mphf.md
Code couvert
obikindex/src/layer/mphf_layer.rs— type Mphf (PtrHash + CubicEps + CachelineEfVec + Xx64), construction en 2 passes,build(),build_exact_evidence(),build_approx_evidence(),build_evidence()obikindex/src/partition/index_layer.rs—build_index_layer()avec passage deblock_bits
Notes
FORT RISQUE DE DÉRIVE. Changements récents :
build_exact_evidence(dir, block_bits)—block_bitsmaintenant paramétrisé (défaut 0)build_approx_evidence(dir, b, z)— nouvelle fonction pour l'évidence fingerprintbuild_evidence(dir, kind, block_bits)— dispatch selon EvidenceKind- Construction en 2 phases : pass 1 (Rayon parallèle) + pass 2 (callback
fill_slot) Vérifier que la doc décrit correctement les deux nouvelles routes d'évidence et le paramètreblock_bits.