summaryrefslogtreecommitdiffstats
path: root/itypes.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2025-01-30 06:34:48 -0800
committerKaz Kylheku <kaz@kylheku.com>2025-01-30 06:34:48 -0800
commit89589c71c1eaa51a9f2d1c75b12ae47668ffc662 (patch)
tree29411a7baba86aa1cec9c16960d8c6ded813d513 /itypes.c
parent81b5e08190cbb76a8bf02a4204d538800e1a9f1a (diff)
downloadtxr-89589c71c1eaa51a9f2d1c75b12ae47668ffc662.tar.gz
txr-89589c71c1eaa51a9f2d1c75b12ae47668ffc662.tar.bz2
txr-89589c71c1eaa51a9f2d1c75b12ae47668ffc662.zip
get-csv: speed up with unsafe get-char.
I'm seeing about a 6% improvement in get-csv from this. * stream.c (us_get_char, us_unget_char): New static functions, which assume all arguments have correct type. (get_csv): If we use source_opt, validate that it's a stream with class_check. Use us_get_char and use_unget_char.
Diffstat (limited to 'itypes.c')
0 files changed, 0 insertions, 0 deletions