summaryrefslogtreecommitdiffstats
path: root/protsym.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2025-05-30 18:43:15 -0700
committerKaz Kylheku <kaz@kylheku.com>2025-05-30 18:43:15 -0700
commitb2a3bbde854cb1b46ff84e6cf9f8219c727d42c4 (patch)
tree4abdf3adda4f6245d655e9cef81da7bec81a3b3b /protsym.c
parent9bd308f89d9aaf75a05f9545e220b44420a697b7 (diff)
downloadtxr-b2a3bbde854cb1b46ff84e6cf9f8219c727d42c4.tar.gz
txr-b2a3bbde854cb1b46ff84e6cf9f8219c727d42c4.tar.bz2
txr-b2a3bbde854cb1b46ff84e6cf9f8219c727d42c4.zip
parser: scan buflit characters faster.
* parser.l (BUFLIT): Instead of scanning a hexadecimal digit and using strol, we scan three separate cases, and do a very simple subtraction in each one. TXR Lisp .tlo files are full of large buffer literals, so this affects loading speed. * lex.yy.c.shipped: Regenerated.
Diffstat (limited to 'protsym.c')
0 files changed, 0 insertions, 0 deletions