Append char to whitespace instead of string (of 1 char)
Clear whitespace instead of = "" (tiny speed difference from
benchmarking, nice to know anyway)
Use const char * for startsWith, avoiding the creation of
temporary string objects.
Next goal is to see if we can avoid having to put strings in Token, also maybe to change the munch functions to return (a better version of) StringRange, since it's still just a map into the input stream.
= ""
(tiny speed difference from benchmarking, nice to know anyway)const char *
for startsWith, avoiding the creation of temporary string objects.Next goal is to see if we can avoid having to put strings in
Token
, also maybe to change the munch functions to return (a better version of) StringRange, since it's still just a map into the input stream.