Hi! On Sun 26 Feb 2012 22:38, l...@gnu.org (Ludovic Courtès) writes:
> "Andy Wingo" <wi...@pobox.com> skribis: > >> commit 79eb47ea47650ef42c545931726277a7118a0210 >> Author: Andy Wingo <wi...@pobox.com> >> Date: Fri Feb 24 23:05:02 2012 +0100 >> >> port i/o optimizations for iso-8859-1 >> > The problems with fast paths is that they become less fast when there > are many of them. > > How does this change influence ‘benchmark-suite/benchmarks/ports.bm’? Dunno, that wasn't my benchmark. It makes the web server go faster (e.g. guile examples/web/debug-sxml.scm). The reason it makes sense to optimize for this encoding is because it's our narrow encoding. If we switch to utf-8 internally (for example), this path doesn't make sense any more. >> +/* Read an ISO-8859-1 codepoint (a byte) from PORT. On success, return >> + *0 and set CODEPOINT to the codepoint that was read, fill BUF with >> + *its UTF-8 representation, and set *LEN to the length in bytes. >> + *Return `EILSEQ' on error. */ > > ESTARS :) Will fix. Andy -- http://wingolog.org/