by loup-vaillant · 5y ago · 0 comments
Personally, depending on the use case, I'd be willing to have strings limited to 256 bytes (no overhead), 64K bytes (1 byte of overhead), and 4G bytes (3 bytes of overhead). Though combining them all might be quite the nightmare…
It's string. Alignment shouldn't be a problem. Rather alignment issues are for the pointers to that string.
But still needless complexity for this.