From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: SRFI-1 in Scheme Date: Tue, 13 Jul 2010 23:25:43 +0200 Message-ID: References: <8739vocnr0.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1279056191 27859 80.91.229.12 (13 Jul 2010 21:23:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 13 Jul 2010 21:23:11 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Jul 13 23:23:10 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OYmwW-0005pq-Lk for guile-devel@m.gmane.org; Tue, 13 Jul 2010 23:23:08 +0200 Original-Received: from localhost ([127.0.0.1]:45747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYmwW-0004JH-1X for guile-devel@m.gmane.org; Tue, 13 Jul 2010 17:23:08 -0400 Original-Received: from [140.186.70.92] (port=41119 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYmwR-0004Gf-I0 for guile-devel@gnu.org; Tue, 13 Jul 2010 17:23:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYmwQ-00026V-4i for guile-devel@gnu.org; Tue, 13 Jul 2010 17:23:03 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:34826 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYmwP-00026P-SS; Tue, 13 Jul 2010 17:23:02 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 1A45FC46EB; Tue, 13 Jul 2010 17:23:01 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=cCpLaOEfeZ3N R77OFvOVP7mXAKs=; b=m0wYf/wP7N1F7+Knz7pm4s2d8nG7DPUxPwjKD/DhCofS j3hOzv90/KjIVuvoSbXVsi73+s9GOeRGZpa/uuwzJiXESkI3RUZL07bEu1VELCRY SwGdQaHyq0UBCmEwG+47muZiysy2RzQVhfnY4JIeGJ1fkV/USJpJGlDS+Q48/88= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=SzqTZJ eadYZBvygaQCOa8+tfHYajnc/6/14+HyXB+o3eQW6Y0vmg9ceum+g1lH0k9cpdiy YkrqxMLyuWX9BA8C0vjy9oC5txHk4psmlc3iwUmJxUhl4eP2CQAJHgv4eK9Q26XX koHnhhbhiPWA27Q+kG5JiclUl9a3zLoZBE2U0= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 7309AC46EA; Tue, 13 Jul 2010 17:22:59 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [83.44.191.132]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id C44C6C46E9; Tue, 13 Jul 2010 17:22:57 -0400 (EDT) In-Reply-To: <8739vocnr0.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 13 Jul 2010 00:57:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: CFBA35AC-8EC4-11DF-843F-9056EE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10657 Archived-At: Hi, On Tue 13 Jul 2010 00:57, ludo@gnu.org (Ludovic Court=C3=A8s) 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 > =E2=80=98fold=E2=80=99 in Scheme is ~9% slower than in C; for small lists= it=E2=80=99s ~17% > slower. > > With the regular engine, Scheme is ~2% faster for large lists and still > ~5% slower for small lists. > > I=E2=80=99m tempted to put this in Cool, looks good to me. > and then make the regular engine the default unless =E2=80=98--debug=E2= =80=99 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 --=20 http://wingolog.org/