guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Guile-commits] GNU Guile branch, master, updated. v2.1.0-68-g79eb47


From: Andy Wingo
Subject: Re: [Guile-commits] GNU Guile branch, master, updated. v2.1.0-68-g79eb47e
Date: Sun, 26 Feb 2012 23:02:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Hi!

On Sun 26 Feb 2012 22:38, address@hidden (Ludovic Courtès) writes:

> "Andy Wingo" <address@hidden> skribis:
>
>> commit 79eb47ea47650ef42c545931726277a7118a0210
>> Author: Andy Wingo <address@hidden>
>> 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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]