cdivsufsort 2.0.0

Rust bindings for Yuta Mori's divsufsort
Documentation
  • Coverage
  • 25%
    1 out of 4 items documented0 out of 2 items with examples
  • Size
  • Source code size: 97.92 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 121.74 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • fasterthanlime/stringsearch
    25 3 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • fasterthanlime

cdivsufsort

This crate contains Yuta Mori's C codebase libdivsufsort, as found on:

...and a minimal Rust interface to it.

Changes

There are no functional changes to the codebase, however:

  • Parts of the code have been formatted with clang-format (LLVM style)
  • Many of the loops (for, do..while) have been given names in comments, for ease of translation.
  • The codebase contains "cross-checking" facilities (the macros crosscheck, SA_dump, etc.) so its behavior can be compared with the Rust port.

Cross-checking is only built when the crosscheck feature is enabled. It is not intended for general use, only for debugging the divsufsort crate.

Further reading

The divsufsort algorithm is based on "",

Authors

The original code was written by Yuta Mori, and its essence is not changed here.

License

cdivsufsort is released under the MIT license, same as the original.

See the LICENSE and c-sources/LICENSE files for details.