News for hackers. Stuff that matters.
Re:Sentinels Can Be Faster by lifthrasiir on Thursday September 10, 2020 @12:55AM (#24429011)
This. The whole argument only holds because you can choose `isspace` to return false for '\0'. You should be able to choose whichever sentinel fits to the required invariant, and C's global string "sentinel" is less useful in that regard. If you need a sentinel you should be able to push one beforehand anyway.

There are no comments on this comment yet.