Hi, On Tue 13 Jul 2010 00:57, [email protected] (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. Andy -- http://wingolog.org/
