libsais-rs-0.1.0 has been yanked.
libsais-rs
libsais-rs is a Rust translation of IlyaGrebnov/libsais for suffix array construction and related transforms.
This crate currently tracks upstream libsais version 2.10.4. The Rust code is intended to stay behaviorally close to upstream, but this remains an early translation and should be treated as experimental until it has seen broader validation.
Status
- Intended for users who want a Rust-native library interface to
libsais - Translation project, not an official upstream release
- Bug reports should go to this repository, not the original
libsaisproject
Usage
[]
= "0.1.0"
use ;
Notes:
sa.len()must be at leasttext.len() + fsfsis extra scratch space made available at the tail ofsafreq, when used, must have length at least256
Development
Run tests with:
Run the local Rust-vs-C benchmark example with:
Upstream Sources
The repository vendors the upstream C sources under libsais/ for reference and parity testing.
Upstream project:
License
Apache License 2.0.