4 ms·
Seems like that would prevent small string optimization (a union of a small char array and the heap char pointer.) That lets me store about 85% of the strings i
by byuu 12y ago
Seems like that would prevent small string optimization (a union of a small char array and the heap char pointer.) That lets me store about 85% of the strings in my assembler without any heap allocation, and is a huge win in my book.
- nly 12y agoIndeed, they don't do SSO. Reference counted COW, which violates the standard.