From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: Re: Loop optimization Date: Tue, 08 Mar 2011 22:43:16 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1299620610 10691 80.91.229.12 (8 Mar 2011 21:43:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2011 21:43:30 +0000 (UTC) Cc: Guile bug To: Michael Ellis Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Mar 08 22:43:25 2011 Return-path: Envelope-to: guile-bugs@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 1Px4gf-0000KW-JN for guile-bugs@m.gmane.org; Tue, 08 Mar 2011 22:43:25 +0100 Original-Received: from localhost ([127.0.0.1]:45735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Px4gf-0004Tg-7O for guile-bugs@m.gmane.org; Tue, 08 Mar 2011 16:43:25 -0500 Original-Received: from [140.186.70.92] (port=49605 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Px4gZ-0004SE-Bv for bug-guile@gnu.org; Tue, 08 Mar 2011 16:43:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Px4gX-0001Am-Mi for bug-guile@gnu.org; Tue, 08 Mar 2011 16:43:19 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:42480 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Px4gX-0001AD-Id for bug-guile@gnu.org; Tue, 08 Mar 2011 16:43:17 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 528F043B1; Tue, 8 Mar 2011 16:44:43 -0500 (EST) 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; s=sasl; bh=6j6N0cXplYfASeBLlv03oqwu2CI=; b=hrWVPA nGKpMeJr/S+pcLbyAxAmU/2jt8XCZTsvXYqrcmCwsDoPli70Cns1s9J21Ll7JhSQ BUQ2gLeey+JI0GiNDcrKYryzWP3AQ5uaQn7yTc52eOn48ICq4I2Q/p2o0mhlgnwf NYUZ9kUtr6XWXddIWV2HAH8Bzb8xXW9FVKxNc= 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; q=dns; s=sasl; b=ev2jTm8VK5IIS6H5KIXOgCjzZozoHUfA 418J6w+1aw9MrmYLtZzbA6BdHZL/6nHS+TIEYlUrwRazbZRek1rJq754u0DI9wE3 3YC+n5CSzrPN/2O/MTPcUW5SHfLIRdBa6faUddvFc4EnUzvID9C+/zLgR/2kuKCm fVhaQjg354E= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 41A8D43B0; Tue, 8 Mar 2011 16:44:41 -0500 (EST) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 9907743AE; Tue, 8 Mar 2011 16:44:39 -0500 (EST) In-Reply-To: (Michael Ellis's message of "Mon, 7 Mar 2011 18:10:33 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 45F172BC-49CD-11E0-8512-E8AB60295C12-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5311 Archived-At: On Tue 08 Mar 2011 00:10, Michael Ellis writes: > Thanks for the education, Andy, and congrats again on the guile > compiler implementation. Your version handily outperforms the fastest > python implementation I know. Thanks, but there is still a ways to go. If guile can count to 10 million in half a second, that means it's spending 100+ cycles per loop, when it could be spending 5 or something. I figure we have a good factor of 4 to squeeze out easily with native compilation, and more with flow analysis and untagging and such. Regards, Andy -- http://wingolog.org/