Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hvenev
6 months ago
|
parent
|
context
|
favorite
| on:
Small Strings in Rust: smolstr vs. smartstring (20...
Is 26 characters next? I think the number of bytestrings of length <= 26 that are also valid UTF-8 is only 0.021 * 256^24.
returningfory2
6 months ago
[–]
I think the problem you encounter with this is that you can no longer reference the small string as a &str.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: