pptok.c: quick-and-dirty downcasing during prehashing
commit7978feebd2fb0be9f4a37980090dfebeeb29a36d
authorH. Peter Anvin <hpa@zytor.com>
Wed, 12 Sep 2007 17:02:55 +0000 (12 17:02 +0000)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 12 Sep 2007 17:02:55 +0000 (12 17:02 +0000)
tree0d0e5847db53f2d0b8ed4bbca8e312835514e6a2
parentff6e9b469982f5db9675316c840db053dfa5328c
pptok.c: quick-and-dirty downcasing during prehashing

Speed up pptok.c by just doing |= 0x20 instead of calling tolower() for
every character during prehashing.  This is good enough for our needs,
since we don't have any tokens containing the characters @ [ \ ] _ nor
any high-bit characters (in which case we'd have to worry about multibyte
anyway.)
pptok.pl