rosetta-rs/string-rosetta-rs
View on GitHub ↗ ★ 188 HTML
Comparison of Rust string types
3 mentions on Hacker News by 2 people: 0 stories, 3 comments · first 2023-09-23 · latest 2025-11-24
20082026
-
For more string types, see https://github.com/rosetta-rs/string-rosetta-rs
comment by epage · 2025-11-24 · in The Rust Performance Book (2020) -
Ok, I dived into the rabbit hole a bit and found this: https://github.com/rosetta-rs/string-rosetta-rs?tab=readme-o... Click the charts for actually readable data. From a quick scan, it seems like hipstr is the current fastest string…
comment by brigadier132 · 2024-08-24 · in Small Strings in Rust: smolstr vs. smartstring (2020) -
…leaves off several relevant string types, including ecow which was encouraged over smol_str [0] See https://github.com/rosetta-rs/string-rosetta-rs for some more analysis. HipStr also has a decent table [1] [0]…
comment by epage · 2023-09-23 · in Choosing a more optimal `String` type