Implement MPHF migration tool and sparse matrix permutation logic

Refactors sparse matrix handling to implement row permutation logic and introduces a standalone tool for migrating indexes from MPHF 1.x to 2.x formats.
This commit is contained in:
Eric Coissac committed 2026-10-15 12:12:51 +02:00
1 parent d686d39506
commit 8b87078478
24 files changed
+3982 -19

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
//! Error adapters: the libraries each have their own error type.
use anyhow::{Result, anyhow};
pub fn sk<T>(r: obiskio::SKResult<T>) -> Result<T> {
r.map_err(|e| anyhow!("{e}"))
}
pub fn oki<T>(r: obikindex::OKIResult<T>) -> Result<T> {
r.map_err(|e| anyhow!("{e}"))
}