MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/C_Programming/comments/1xy05d0/tiny_strings/19sqw9ks39eh0/?context=3
r/C_Programming • u/skeeto • 18d ago
13 comments sorted by
View all comments
Show parent comment
2
The big strings aren't NUL-terminated, so there's no point in doing that for the small ones. Folly devs went to great (crazy) lengths to avoid '\0' too, unsuccessfully. Their hands were tied by the standard, I don't have such constraints.
'\0'
View all comments
Show parent comment
2
u/8d8n4mbo28026ulk 18d ago
The big strings aren't NUL-terminated, so there's no point in doing that for the small ones. Folly devs went to great (crazy) lengths to avoid
'\0'too, unsuccessfully. Their hands were tied by the standard, I don't have such constraints.