Hacker News new | ask | show | jobs
by zozbot234 140 days ago
> Swift strings default to operating on grapheme clusters, which is relatively slow.

The unicode-segmentation crate implements this for Rust, in case it matters for accuracy.