Add diagnostic logging and minor internal refactoring

Introduce runtime dimension tracking, matrix shape validation, and per-layer diagnostics across multiple modules to improve execution observability. Extract intermediate computation results into local variables, standardize collection patterns in partial methods, and replace naive iteration with optimized pairwise counting. All modifications are strictly additive or structural; public APIs, data models, and core logic remain unchanged.
This commit is contained in:
Eric Coissac
2026-08-17 11:29:31 +02:00
parent 11476bc557
commit 70b0527957
6 changed files with 109 additions and 189 deletions
-1
View File
@@ -121,7 +121,6 @@ impl KmerIndex {
)));
}
};
tracing::info!("distance matrix final: {}x{}", matrix.shape()[0], matrix.shape()[1]);
let shared = if shared_kmers {
let (inter, _) = BitPartials::partial_jaccard(&global);