Skip to content

libsais v2.12.0

Choose a tag to compare

@IlyaGrebnov IlyaGrebnov released this 19 Oct 05:07
· 2 commits to master since this release
  • Changed license to Apache License 2.0 with LLVM Exceptions.
  • Support for cyclic Burrows-Wheeler transform and inverse BWT construction (e.g. as used by bzip2).
  • Significantly improved performance of inverse BWT, both single- and multi-threaded.
  • Improved performance of suffix array and Burrows-Wheeler transform construction.
  • Fixed crashes and incorrect results when OpenMP provides fewer threads than requested (e.g. under OMP_THREAD_LIMIT).
  • Fixed out-of-bounds memory access in inverse BWT for inputs that are not a valid BWT.
  • Fixed handling of invalid alphabet sizes, of alphabets larger than 2^31 symbols (libsais64, libsais16x64) and of very large thread counts in 32-bit builds.
  • Resolved compiler warnings with GCC 16.

Performance compared with 2.10.4

Suffix array construction, total throughput: 2.12.0 is 9.8% to 13.5% faster than 2.10.4 at 1, 8, 16 and 32 threads

Inverse BWT with a single primary index, total throughput: 2.12.0 is 13.5 times faster than 2.10.4 on one thread and 41 to 49 times faster on 8 to 32 threads

106 files (9.7 GB): the Benchmarks.md corpora plus 37 small real files. AMD Ryzen 9 9950X3D, clang-cl 19.1.5 with -march=native, both versions linked into one binary.