Crate stringzilla

Available on crate feature dep_stringzilla only.
Expand description

stringzilla SIMD-accelerated string search, sorting, fingerprints, and edit distances.


Modules§

sz
The sz module provides a collection of string searching and manipulation functionality, designed for high efficiency and compatibility with no_std environments. This module offers various utilities for byte string manipulation, including search, reverse search, and edit-distance calculations, suitable for a wide range of applications from basic string processing to complex text analysis tasks.

Structs§

RangeMatches
An iterator over non-overlapping matches of a pattern in a string slice. This iterator yields the matched substrings in the order they are found.
RangeRMatches
An iterator over non-overlapping matches of a pattern in a string slice, searching from the end. This iterator yields the matched substrings in reverse order.
RangeRSplits
An iterator over non-overlapping splits of a string slice by a pattern, searching from the end. This iterator yields the substrings between the matches of the pattern in reverse order.
RangeSplits
An iterator over non-overlapping splits of a string slice by a pattern. This iterator yields the substrings between the matches of the pattern.

Enums§

MatcherType

Traits§

Matcher
MutableStringZilla
Provides a tool for mutating a byte slice by filling it with random data from a specified alphabet. This trait is especially useful for types that need to be mutable and can reference or be converted to byte slices.
StringZilla
Provides extensions for string searching and manipulation functionalities on types that can reference byte slices (u8). This trait extends the capability of any type implementing AsRef<[u8]>, allowing easy integration of SIMD-accelerated string processing functions.