Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
holmium
· 5y ago · 0 comments
In addition to what the others have said, Rust's `String` is three pointer sized words: `(ptr, len, capacity)`. So, a `String` has 50% of the overhead of a `&str`.
Comments
No comments yet.
Better HN