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: eval-when-compile vs defconst Date: Mon, 13 Nov 2006 15:18:27 -0500 Message-ID: References: <58171.128.165.123.18.1163443285.squirrel@webmail.lanl.gov> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1163449392 2415 80.91.229.2 (13 Nov 2006 20:23:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 13 Nov 2006 20:23:12 +0000 (UTC) Cc: Stephen Leake , Richard Stallman , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 13 21:23:09 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GjiKO-0007w8-R8 for ged-emacs-devel@m.gmane.org; Mon, 13 Nov 2006 21:22:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GjiKO-0006vC-2C for ged-emacs-devel@m.gmane.org; Mon, 13 Nov 2006 15:22:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GjiGI-0002GY-QT for emacs-devel@gnu.org; Mon, 13 Nov 2006 15:18:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GjiGH-0002Ea-Dm for emacs-devel@gnu.org; Mon, 13 Nov 2006 15:18:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GjiGH-0002E1-3v for emacs-devel@gnu.org; Mon, 13 Nov 2006 15:18:33 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GjiGF-00062V-FX; Mon, 13 Nov 2006 15:18:31 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 126A22CEF88; Mon, 13 Nov 2006 15:18:31 -0500 (EST) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id A78233FE1; Mon, 13 Nov 2006 15:18:27 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 8C1564C6D25; Mon, 13 Nov 2006 15:18:27 -0500 (EST) Original-To: herring@lanl.gov In-Reply-To: <58171.128.165.123.18.1163443285.squirrel@webmail.lanl.gov> (Stuart D. Herring's message of "Mon\, 13 Nov 2006 10\:41\:25 -0800 \(PST\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca 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:62246 Archived-At: > Surely it's there to avoid calling (and loading) `regexp-opt' at load > time, and the concat is merely along for the ride? Indeed. > Unless the optimizer already evaluates calls to `regexp-opt' on quoted > lists, it seems useful to me. It used not to, but I believe it now should be properly optimized. Stefan