Re:Parsing can become accidentally quadratic because of sscanf
by edflsafoiewq on Monday March 01, 2021 @04:24PM
(#26308618)
Another reason is a substring of a nul-terminated string is only nul-terminated if it is a suffix. So slicing out a substring generally requires copying to a new buffer so you can append the nul byte.
[ Parent
| on HN ]
There are no comments on this comment yet.