Hacker GitHub

← All repos

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

Mentions per year 3 mentions · busiest year 2023 (1)
20082026
  1. 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)
  2. 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…
  3. …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