diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2025-01-30 21:54:47 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2025-01-30 21:54:47 -0800 |
commit | 5d3a9726b96dbc2e475c82dd49303cfa3232b9a4 (patch) | |
tree | dcc273e512988e53d8402279b10e5644c1451bc5 /socket.c | |
parent | 6f8115f23d0cb4225cd652abad65557d5fe7ffd9 (diff) | |
download | txr-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 'socket.c')
0 files changed, 0 insertions, 0 deletions