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:
1 parent
d686d39506
commit
8b87078478
24 files changed
+3982
-19
No files matched your search
@@ -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}"))
|
||||
}
|
||||
Reference in new issue
Block a user