Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
ropejumper
· 1y ago · 0 comments
Yep, you're right. One way to make this less of a problem is to make this distinction at the type level, having both an owned_string and a string_view for example. You can even make owned_string store its length inline.
Comments
No comments yet.
Better HN