diff --git a/sa-builder/src/lib.rs b/sa-builder/src/lib.rs index 92c4b09..50bfe06 100644 --- a/sa-builder/src/lib.rs +++ b/sa-builder/src/lib.rs @@ -70,7 +70,7 @@ pub fn build_ssa( } // Max sparseness for libsais because it creates a bucket for each element of the alphabet (2 ^ (sparseness * bits_per_char) buckets). -const MAX_SPARSENESS: usize = 6; +const MAX_SPARSENESS: usize = 5; fn libsais64(text: &Vec, sparseness_factor: u8) -> Result, &str> { let sparseness_factor = sparseness_factor as usize;