Registry / utility / triple-accel

triple-accel

JSON →
library0.4.0rscratesunverified

Rust edit distance routines accelerated using SIMD, supporting Hamming, Levenshtein, restricted Damerau-Levenshtein, and string search.

# Cargo.toml [dependencies] triple_accel = "0.4.0"
INSTALL
IMPORT
SIG · TRIPLE-ACCEL
T
triple-accel
utilityrustv0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

levenshtein
use triple_accel::levenshtein::levenshtein;

Computes the Levenshtein distance between two strings using SIMD acceleration.

use triple_accel::levenshtein::levenshtein; fn main() { let dist = levenshtein("kitten", "sitting"); println!("Distance: {}", dist); }
Debug
Known issues
gotchaRequires CPU with SIMD support (SSE2, AVX2, or NEON).
fix
Ensure target CPU supports SIMD or use fallback.
affects: >=0.4.0
Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
triple-accel — cargo add triple-accel · libregistry