diff options
author | Andy Wingo <wingo@pobox.com> | 2012-03-07 12:39:30 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2012-03-07 13:04:53 +0100 |
commit | 4df9e5eb0f2cbdcd36cb2a50214f79a16816accf (patch) | |
tree | 8fd43abca4d105e39b32f72040ef213ad9e73c9b /doc/ref/api-coverage.texi | |
parent | 8ebd06c64bbb68343b30b82efffd7eed3b22b456 (diff) | |
download | guile-4df9e5eb0f2cbdcd36cb2a50214f79a16816accf.tar.gz |
micro-optimizations to string-trim-both, and to (web http)
* libguile/srfi-13.c (scm_string_trim, scm_string_trim_right)
(scm_string_trim_both): Take the whitespace fast-path if the char_pred
is scm_char_set_whitespace.
* module/web/http.scm (read-header, split-and-trim, parse-quality-list):
(parse-param-component, parse-credentials, "Content-Type"):
(read-request-line, read-response-line): Use char-set:whitespace
instead of char-whitespace?. It avoids recursing into the VM.
Diffstat (limited to 'doc/ref/api-coverage.texi')
0 files changed, 0 insertions, 0 deletions