Quick question: At the top of the parser they define
const char VERTEX_STR[] = "vertex ";
And a few lines in
data += strlen(VERTEX_STR);
Would parsers optimize this out? Seems like an easy win to replace that with a "7" (or a constant or something), although I don't know how much of a win it would be.