Damus
ARGVMI~1.PIF profile picture
ARGVMI~1.PIF
@ARGVMI~1.PIF
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
1
Nazo · 2w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpq9zsljfx8tjyzplququr9xmqctclx0qc2mw5xydzx0udqzrfade4qmtrtl5 Wasn't 0xFF also a "blank" character of sorts?