decollate
Blazing-fast string collation, deconstructed.
decollate is a high-performance, context-free collation library that provides locale-aware string comparison by deconstructing complex collation rules to their essential components.
Status
⚠️ This project is in early development. The API is unstable and functionality is limited.
Goals
- Provide collation that is 100x faster than ICU for languages without digraphs
- Support the top 50 languages using compressed CLDR data
- Maintain 99.999% compatibility with ICU for supported languages
- Minimal footprint with zero runtime dependencies
Usage
[]
= "0.0.1"
use Collator;
use Ordering;
let collator = new.unwrap;
assert_eq!;