[Top][All Lists]

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

Re: SRFI-1 in Scheme

From: Andy Wingo
Subject: Re: SRFI-1 in Scheme
Date: Tue, 13 Jul 2010 23:25:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)


On Tue 13 Jul 2010 00:57, address@hidden (Ludovic Courtès) writes:

> The attached patch is a first stab at re-implementing SRFI-1 in
> Scheme.
> IOW, with the debug engine (currently the default) and for large lists
> ‘fold’ in Scheme is ~9% slower than in C; for small lists it’s ~17%
> slower.
> With the regular engine, Scheme is ~2% faster for large lists and still
> ~5% slower for small lists.
> I’m tempted to put this in

Cool, looks good to me.

> and then make the regular engine the default unless ‘--debug’ is
> specified.

I would prefer to keep the debug VM as the default. At the very least,
one should be able to switch VMs. This can come when we delimit call/cc,
I think -- I have some patches for that for 2.2.


reply via email to

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