Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
krautsauer
· 7mo ago · 0 comments
[Edit:deleted]
Comments
[–]
stebalien
7mo ago
Box<str> is still two words (length and pointer). That's better than the 3 words (length, pointer, capacity) for strings, but Box<String> is one word (not including the heap allocation).