From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.lisp.guile.bugs Subject: bug#17147: Performance regression by 3000000% for evaluating "and" form Date: Tue, 01 Apr 2014 13:59:02 +0200 Message-ID: <87ioqtjm61.fsf@fencepost.gnu.org> References: <87k3ban107.fsf@fencepost.gnu.org> <87r45im25m.fsf@yeeloong.lan> <87mwg6kl90.fsf@fencepost.gnu.org> <878urpn4hn.fsf@yeeloong.lan> <87fvlxlgki.fsf@fencepost.gnu.org> <87wqf9le3l.fsf@yeeloong.lan> <877g79larq.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1396353634 32700 80.91.229.3 (1 Apr 2014 12:00:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Apr 2014 12:00:34 +0000 (UTC) Cc: 17147@debbugs.gnu.org To: Mark H Weaver Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Apr 01 14:00:27 2014 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WUxMV-0003C9-1s for guile-bugs@m.gmane.org; Tue, 01 Apr 2014 14:00:15 +0200 Original-Received: from localhost ([::1]:59835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUxMU-0008Uv-Mv for guile-bugs@m.gmane.org; Tue, 01 Apr 2014 08:00:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUxMP-0008S0-Rb for bug-guile@gnu.org; Tue, 01 Apr 2014 08:00:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUxMK-0001Qw-NO for bug-guile@gnu.org; Tue, 01 Apr 2014 08:00:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUxMK-0001PO-IB for bug-guile@gnu.org; Tue, 01 Apr 2014 08:00:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WUxMJ-00021X-9f for bug-guile@gnu.org; Tue, 01 Apr 2014 08:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Kastrup Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 01 Apr 2014 12:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17147 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 17147-submit@debbugs.gnu.org id=B17147.13963535477673 (code B ref 17147); Tue, 01 Apr 2014 12:00:02 +0000 Original-Received: (at 17147) by debbugs.gnu.org; 1 Apr 2014 11:59:07 +0000 Original-Received: from localhost ([127.0.0.1]:58886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WUxLO-0001zh-UL for submit@debbugs.gnu.org; Tue, 01 Apr 2014 07:59:07 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:56994) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WUxLM-0001zY-86 for 17147@debbugs.gnu.org; Tue, 01 Apr 2014 07:59:04 -0400 Original-Received: from localhost ([127.0.0.1]:36067 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUxLL-0005mG-BJ; Tue, 01 Apr 2014 07:59:03 -0400 Original-Received: by lola (Postfix, from userid 1000) id CEAFCE04FC; Tue, 1 Apr 2014 13:59:02 +0200 (CEST) In-Reply-To: <877g79larq.fsf@fencepost.gnu.org> (David Kastrup's message of "Tue, 01 Apr 2014 10:22:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7439 Archived-At: David Kastrup writes: > If Guile is not going to optimize ..., I think it would be good if it > led by example (its sources _are_ going to teach people how to program) > and simply avoided using ... altogether, at the very least where > recursive expansion rules are concerned. > > I have the suspicion, however, that there are a lot of tutorials/etc in > the wild that do make use of ellipses. So while avoiding ... will help > with keeping Guile's own internals scalable to large expressions, it > will still likely affect the performance of a significant amount of > third-party code. By the way: module/system/vm/assembler.scm is taking an absolutely insane amount of time to compile. It also makes copious use of syntax rules including ... and this might be related. -- David Kastrup