News for hackers. Stuff that matters.
Re:Small Strings in Rust: smolstr vs. smartstring by parkmycar on Saturday August 24, 2024 @06:56PM (#41342507)
Ha, naming is hard! You’re totally right, it used to be just the values of the last byte of a UTF-8 char (and before that it was NonMaxU8) but now represents more. I’ll update it once I’m back at my computer, thanks!
Re:Small Strings in Rust: smolstr vs. smartstring by tialaramex on Saturday August 24, 2024 @07:33PM (#41342823)
Ah, while you're in there, IIRC you mention NonMaxU8 in the code still and probably that's worth updating at the same time.