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: GLIL->C compilation Date: Sat, 20 Nov 2010 13:18:25 +0100 Message-ID: References: <201010212223.23822.stefan.itampe@gmail.com> <201011052219.54556.stefan.itampe@gmail.com> <87zkt4vrhn.fsf_-_@gnu.org> <201011200020.04169.stefan.itampe@gmail.com> <87mxp4vpek.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 1290255285 25234 80.91.229.12 (20 Nov 2010 12:14:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 20 Nov 2010 12:14:45 +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 Sat Nov 20 13:14:41 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 1PJmKz-0005ra-Oj for guile-devel@m.gmane.org; Sat, 20 Nov 2010 13:14:38 +0100 Original-Received: from localhost ([127.0.0.1]:54762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJmKy-0002S0-IE for guile-devel@m.gmane.org; Sat, 20 Nov 2010 07:14:36 -0500 Original-Received: from [140.186.70.92] (port=46363 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJmKt-0002Qf-Qu for guile-devel@gnu.org; Sat, 20 Nov 2010 07:14:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJmKs-0006ru-B6 for guile-devel@gnu.org; Sat, 20 Nov 2010 07:14:31 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:48064 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJmKs-0006rm-5H; Sat, 20 Nov 2010 07:14:30 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 9DBF2372B; Sat, 20 Nov 2010 07:14:41 -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:content-transfer-encoding; s=sasl; bh=Hrvcvc/XwPij QB4hKxrQQNlTAks=; b=Lcjtdivv5viAhYx0P6XU0rpNuTl+gjH9KxqL2zBhedcM ZJlVqOzOql1Bs38rVKjrzJdM6bG6Huovjq0RtUSim9jDhOsQCEhDWtkPpRw2XNUP oe8tDeNHGs0ITkD/0ytO2QUgV/72tPuvypRUxkRuYKZ/xrmtyMMCW1WjxJP6Aw4= 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=akiFPY myMJHQnt5G7RdqFvQXs2xWcqy25N0JTwbTD0FadZiZkDOab2D4tNvJW4RKG90tiq oV5jN+BSQPSS+fDSq1MGlQx0SFbiK4uhdQQgKNPsI3gqSS5JpenJpTVy3I4hb/hZ i144ogNvWFAXudDIQoRICb5sRShSUWP1DXOK0= 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 8B02F372A; Sat, 20 Nov 2010 07:14:40 -0500 (EST) Original-Received: from unquote.localdomain (unknown [88.0.167.219]) (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 E17D73728; Sat, 20 Nov 2010 07:14:38 -0500 (EST) In-Reply-To: <87mxp4vpek.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sat, 20 Nov 2010 00:56:19 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: C0295C6C-F49F-11DF-804C-B53272ABC92C-02397024!a-pb-sasl-sd.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:11156 Archived-At: On Sat 20 Nov 2010 00:56, ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> Yes on one of my machine one loop takes about 6ns for the compiled one a= nd=20 >> about 50ns for the bytcode, say a factor of 7-10 for simple tasks, but=20 >> remember >> this is for rather trivial work. > > Woow, I didn=E2=80=99t expect so much. I would expect it, yes. Something aroung 5x for dispatch, with more if the compiler decided to inline more things across "instruction" boundaries. Andy --=20 http://wingolog.org/