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: bootstrap problem with union Lisp_Object Date: Tue, 06 Dec 2005 17:26:37 -0500 Message-ID: References: <55DA5764-DDB6-4858-9CE2-065857CDC863@gnu.org> <3AFF0594-F842-4079-9A3B-D1CF7358A281@raeburn.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133909515 11288 80.91.229.2 (6 Dec 2005 22:51:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Dec 2005 22:51:55 +0000 (UTC) Cc: Ken Raeburn , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 06 23:51:44 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ejlbl-00039P-5M for ged-emacs-devel@m.gmane.org; Tue, 06 Dec 2005 23:48:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ejlbx-000128-UB for ged-emacs-devel@m.gmane.org; Tue, 06 Dec 2005 17:48:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EjlH3-00030Y-Dw for emacs-devel@gnu.org; Tue, 06 Dec 2005 17:27:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EjlH1-0002wk-Am for emacs-devel@gnu.org; Tue, 06 Dec 2005 17:27:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EjlGz-0002wA-CR for emacs-devel@gnu.org; Tue, 06 Dec 2005 17:26:59 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EjlHi-0004UY-7S; Tue, 06 Dec 2005 17:27:42 -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 C520B2CF75F; Tue, 6 Dec 2005 17:26:41 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 51DDC4AC00A; Tue, 6 Dec 2005 17:26:37 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 32F01F69C4; Tue, 6 Dec 2005 17:26:37 -0500 (EST) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Tue, 06 Dec 2005 16:55:24 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (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=-4.852, requis 5, autolearn=not spam, AWL 0.05, BAYES_00 -4.90) X-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:47079 Archived-At: > Fixed... With these options enabled, EQ evaluates its arguments > twice. A while back, Stefan changed NILP to use EQ instead of > XFASTINT, which is cleaner, but it turns out some invocations of NILP > had non-idempotent arguments. > Why doesn't EQ use XFASTINT? We want it to be as fast as possible. XFASTINT is "slow" (identical to XINT, in the now default case of USE_LSB_TAG) and incorrect (it fails to check that the tag bits are equal). If Lisp_Object=int (or long), we want to use "=" directly, which is exactly what happens with `EQ'. Stefan