From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: byte-compiler very slow Date: Mon, 22 Jul 2002 09:19:49 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200207221519.g6MFJnK02311@aztec.santafe.edu> References: <3D39C79B.6020605@dponce.com> <200207212015.g6LKFgA00958@aztec.santafe.edu> <1027284727.5453.5.camel@space-ghost> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1027351249 21643 127.0.0.1 (22 Jul 2002 15:20:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 22 Jul 2002 15:20:49 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17WezP-0005cr-00 for ; Mon, 22 Jul 2002 17:20:47 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17WfDI-0007eZ-00 for ; Mon, 22 Jul 2002 17:35:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17WezK-0004FO-00; Mon, 22 Jul 2002 11:20:42 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17WeyV-0004CI-00; Mon, 22 Jul 2002 11:19:51 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g6MFJuB05203; Mon, 22 Jul 2002 09:19:56 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g6MFJnK02311; Mon, 22 Jul 2002 09:19:49 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: walters@gnu.org In-Reply-To: <1027284727.5453.5.camel@space-ghost> (message from Colin Walters on 21 Jul 2002 16:52:07 -0400) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5965 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5965 I think for the short term, we could make batch-byte-compile set a flag which reverts to the previous behavior of just printing line numbers. The previous behavior printed *incorrect* line numbers; going back there does not seem very good. I think we should make this work better. Someone said that turning this feature off does not bring back the old speed. I wonder if turning it off really turns off the whole mechanism. Did anyone check what the code says? Treating the code as a black box is unlikely to solve this. That's a futile approach to any bug, almost a waste of time. What we need is some real debugging. Would someone like to study the actual changes and what they do that might cause a slowdown? Would someone like to profile the new version and see where this time is spent?