-
Notifications
You must be signed in to change notification settings - Fork 128
Expand file tree
/
Copy pathlib.rs
More file actions
36 lines (30 loc) · 1.17 KB
/
Copy pathlib.rs
File metadata and controls
36 lines (30 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#![cfg_attr(not(feature = "std"), no_std)]
#![doc = r"
# StringZilla
Fast string processing library with SIMD and GPU acceleration.
This crate provides two main modules:
- `stringzilla` (alias `sz`): Single-string operations
- `stringzillas` (alias `szs`): Multi-string parallel operations (requires features)
## Features
- `cpus`: Enable multi-threaded CPU backend
- `cuda`: Enable CUDA GPU backend
- `rocm`: Enable ROCm GPU backend
"]
/// Core single-string operations with SIMD acceleration.
///
/// Provides fast string search, comparison, hashing, and manipulation
/// functions optimized with SWAR and SIMD instructions.
pub mod stringzilla;
/// High-performance parallel string algorithms with CPU/GPU acceleration.
///
/// Requires `cpus`, `cuda`, or `rocm` features. Provides:
/// - Levenshtein distances (binary and UTF-8)
/// - Needleman-Wunsch global alignment
/// - Smith-Waterman local alignment
/// - Min-Hash fingerprinting
#[cfg(any(feature = "cpus", feature = "cuda", feature = "rocm"))]
pub mod stringzillas;
// Convenience aliases for shorter names
pub use stringzilla as sz;
#[cfg(any(feature = "cpus", feature = "cuda", feature = "rocm"))]
pub use stringzillas as szs;