3 ms·
Looks like there's a Rust implementation: https://crates.io/crates/afsort https://crates.io/crates/afsort > When sorting English words, this implementation see
by re 2y ago
Looks like there's a Rust implementation: https://crates.io/crates/afsort https://crates.io/crates/afsort
> When sorting English words, this implementation seems to be about 40% faster than sort_unstable from the Rust standard library.
That's better than I would have expected. It would be interesting to see how it does on other types of string sort problems.
- antonhag 2y agoHi! Crate author here, happy to see my old project getting mentioned. Let me know if you have any questions!
- ewalk153 2y agoDo you actively use this function in any projects? What was your inspiration to write the crate?
- antonhag 2y agoI don't actively use it, unfortunately. The main inspiration was to faster sort inputs into the https://github.com/BurntSushi/fst https://github.com/BurntSushi/fst crate, which I in turn used to try to build a search library.