Re:Git's list of banned C functions
by kelnos on Sunday March 07, 2021 @02:16PM
(#26378797)
That would mean you lose the ability to do all sorts of optimizations and memory sharing. Or at least, you can do them, but then the c_string() function requires copying the data. And that also means that it's a one-way thing: you can't use the copy on something that wants to modify the string, and expect your FancyString instance to reflect the modification.
[ Parent
| on HN ]
There are no comments on this comment yet.