1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 14:21:10 +02:00
guile/module/web
Andy Wingo 47153f29b0 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.
2012-03-22 09:55:28 +01:00
..
server web server http: 400 Bad Request on bad requests 2012-03-11 10:29:06 +01:00
client.scm Update a comment in (web client) 2011-12-06 11:46:58 +01:00
http.scm micro-optimizations to string-trim-both, and to (web http) 2012-03-22 09:55:28 +01:00
request.scm Improve the usage of variable names in Scheme docstrings. 2012-02-02 12:24:40 +01:00
response.scm web server: do not provide a response body where it is not permitted 2012-02-12 13:29:19 +01:00
server.scm web server: fix spurious warning 2012-02-14 17:32:25 +01:00
uri.scm microoptimizations in (web uri) 2012-02-22 20:40:55 +01:00