From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Byte compiler inefficiency Date: Tue, 09 Aug 2005 20:16:29 -0400 Message-ID: References: <85acjuhtf0.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123633872 29438 80.91.229.2 (10 Aug 2005 00:31:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Aug 2005 00:31:12 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 10 02:31:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E2eTx-0002r0-4T for ged-emacs-devel@m.gmane.org; Wed, 10 Aug 2005 02:30:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2eX2-0005HF-FI for ged-emacs-devel@m.gmane.org; Tue, 09 Aug 2005 20:33:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E2eVQ-0004vA-NV for emacs-devel@gnu.org; Tue, 09 Aug 2005 20:31:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E2eVD-0004mI-8H for emacs-devel@gnu.org; Tue, 09 Aug 2005 20:31:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2eV9-0004jq-Ox for emacs-devel@gnu.org; Tue, 09 Aug 2005 20:31:23 -0400 Original-Received: from [195.186.19.61] (helo=mail12.bluewin.ch) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E2eUj-0008S1-Dc; Tue, 09 Aug 2005 20:30:57 -0400 Original-Received: from empanada.local (83.76.14.40) by mail12.bluewin.ch (Bluewin 7.2.063) id 42D27D850046038F; Wed, 10 Aug 2005 00:16:26 +0000 Original-Received: by empanada.local (Postfix, from userid 502) id 452C95FFBA3; Tue, 9 Aug 2005 20:16:29 -0400 (EDT) Original-To: David Kastrup In-Reply-To: <85acjuhtf0.fsf@lola.goethe.zz> (David Kastrup's message of "Sun, 07 Aug 2005 13:34:43 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41828 > (defsubst cadr (x) > "Return the car of the cdr of X." > (car (cdr x))) There has already been discussions of such issues on this list. There are various ways to make byte-opt.el get rid of the extra varbind. I had a suggestion, but it's not robust against some improperly nested byte-code (which can't currently be generated by the byte-compiler, but could be generated by some other byte-compiler), and someone else had another suggestion which didn't have such a shortcoming. I thought his suggestion had been installed but if you say the "problem" is still present, it looks like it never got installed. Stefan