summaryrefslogtreecommitdiff
path: root/nasm.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-09-12 17:02:55 +0000
committerH. Peter Anvin <hpa@zytor.com>2007-09-12 17:02:55 +0000
commit7978feebd2fb0be9f4a37980090dfebeeb29a36d (patch)
tree0d0e5847db53f2d0b8ed4bbca8e312835514e6a2 /nasm.h
parentff6e9b469982f5db9675316c840db053dfa5328c (diff)
downloadnasm-7978feebd2fb0be9f4a37980090dfebeeb29a36d.tar.gz
nasm-7978feebd2fb0be9f4a37980090dfebeeb29a36d.tar.bz2
nasm-7978feebd2fb0be9f4a37980090dfebeeb29a36d.zip
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.)
Diffstat (limited to 'nasm.h')
0 files changed, 0 insertions, 0 deletions