From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.devel Subject: Re: byte-opt.el addition - optimize list of compile-time constants Date: Wed, 8 Dec 2004 21:33:12 +0200 Message-ID: <200412082133.12630.pogonyshev@gmx.net> References: <87u0qxgn65.fsf@codesourcery.com> <878y88hazn.fsf@codesourcery.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1102534186 23642 80.91.229.6 (8 Dec 2004 19:29:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2004 19:29:46 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 08 20:29:41 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cc7VM-00018u-00 for ; Wed, 08 Dec 2004 20:29:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cc7fD-0002cN-Ut for ged-emacs-devel@m.gmane.org; Wed, 08 Dec 2004 14:39:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cc7eu-0002c2-BA for emacs-devel@gnu.org; Wed, 08 Dec 2004 14:39:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cc7et-0002bq-Ut for emacs-devel@gnu.org; Wed, 08 Dec 2004 14:39:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cc7et-0002bn-S8 for emacs-devel@gnu.org; Wed, 08 Dec 2004 14:39:31 -0500 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1Cc7UR-00011I-5d for emacs-devel@gnu.org; Wed, 08 Dec 2004 14:28:43 -0500 Original-Received: (qmail 32347 invoked by uid 65534); 8 Dec 2004 19:28:35 -0000 Original-Received: from unknown (EHLO localhost.localdomain) (195.50.12.116) by mail.gmx.net (mp013) with SMTP; 08 Dec 2004 20:28:35 +0100 X-Authenticated: #16844820 Original-To: Zack Weinberg , Stefan Monnier User-Agent: KMail/1.4.3 In-Reply-To: <878y88hazn.fsf@codesourcery.com> 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: main.gmane.org gmane.emacs.devel:30881 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30881 Zack Weinberg wrote: > I seriously wonder how much would break if this optimization were > implemented for 'list'. My suspicion is that people don't commonly > apply 'eq' to lists in the first place. You are very wrong here. While it will hardly break sane code, `eq' is _very_ often applied to cons cells, e.g. lists. Paul