I'm unironically considering generating text with DEL (U+7F) characters in it. In 2026.
To pad out excess bytes in the middle of a string without having to copy it.
This is probably a bad idea, but the alternatives are:
* Copy the whole thing to remove the extra space. Slow.
* Use NUL (U+0) characters instead. Will probably confuse C code.
* Somehow better predict how much space will be needed without making my API a confusing mess. ๐ตโ๐ซ
#programming
To pad out excess bytes in the middle of a string without having to copy it.
This is probably a bad idea, but the alternatives are:
* Copy the whole thing to remove the extra space. Slow.
* Use NUL (U+0) characters instead. Will probably confuse C code.
* Somehow better predict how much space will be needed without making my API a confusing mess. ๐ตโ๐ซ
#programming
1