summaryrefslogtreecommitdiffstats
path: root/vm.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2025-01-30 21:54:47 -0800
committerKaz Kylheku <kaz@kylheku.com>2025-01-30 21:54:47 -0800
commit5d3a9726b96dbc2e475c82dd49303cfa3232b9a4 (patch)
treedcc273e512988e53d8402279b10e5644c1451bc5 /vm.c
parent6f8115f23d0cb4225cd652abad65557d5fe7ffd9 (diff)
downloadtxr-5d3a9726b96dbc2e475c82dd49303cfa3232b9a4.tar.gz
txr-5d3a9726b96dbc2e475c82dd49303cfa3232b9a4.tar.bz2
txr-5d3a9726b96dbc2e475c82dd49303cfa3232b9a4.zip
get-csv: further get-char optimization.
Another 5-6% gained form this. * stream.c (us_get_char, us_unget_char): Static functions removed. (get_csv): Retrieve the get_char and unget_char pointers from the strm_ops structure outside of the loop, and then just call these pointers. Careful: the unget_char virtual has reversed parameters compared to the global function.
Diffstat (limited to 'vm.c')
0 files changed, 0 insertions, 0 deletions