3 ms·
strtok() is even worse. (Because it has global state) There are a lot of C standard library functions from the 1970s that should have been moved to a "deprecat
by Animats 12y ago
strtok() is even worse. (Because it has global state)
There are a lot of C standard library functions from the 1970s that should have been moved to a "deprecated" library around 1990 or so and phased out by now.
- vardump 12y agoThrow zero-terminated strings away too, please. Scanning sequential bytes is very slow and has caused so many bugs.