Skip to content

Peek ahead to avoid calling parseEncodedWord when parsing comments

parseEncodedWord() is relatively expensive, so avoid calling it when we already know it's going to fail anyway.

Speeds up parsing the oss-fuzz test 5945196954320896 from ~16s to ~20ms.

cc @aacid

Merge request reports

Loading