diff options
author | Andy Wingo <wingo@pobox.com> | 2013-08-31 10:44:07 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2013-08-31 10:44:07 +0200 |
commit | be7ecef05c1eea66f30360f658c610710c5cb22e (patch) | |
tree | e014d8314071a644bd1dcef5fc9116b38376d41b /libguile/strings.c | |
parent | 8ac8e2dfeb88172deab6fe453d7a2f0ad03729d6 (diff) | |
download | guile-be7ecef05c1eea66f30360f658c610710c5cb22e.tar.gz |
unread-char: inline conversion from codepoint to bytes
* libguile/ports.c (scm_ungetc_unlocked): Inline the conversion from
codepoint to bytes for UTF-8 and latin-1 ports. Speeds up a
numbers-reading test case by 100% (!).
Diffstat (limited to 'libguile/strings.c')
0 files changed, 0 insertions, 0 deletions