Re:It Can Happen to You
by TeMPOraL on Thursday March 04, 2021 @11:48AM
(#26344733)
That's interesting. I can't think of a mechanism why this would give so much of a performance boost, though - rejecting extra whitespace should be just a matter of a simple forward scan against a small set of characters, shouldn't it?
(Or maybe in your case something was running strlen() a lot during parsing, and just the difference in file size explains the boost?)
(Or maybe in your case something was running strlen() a lot during parsing, and just the difference in file size explains the boost?)