From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Making 'eq' == 'eql' in bignum branch Date: Fri, 10 Aug 2018 11:15:30 -0400 Message-ID: References: <29f933ac-a6bf-8742-66a7-0a9d6d3e5a88@disroot.org> <765767b2-d2e5-a9a6-f724-d58ecf4847bb@cs.ucla.edu> <76081b5d-8c10-0a37-2c97-d4864c0faa80@cs.ucla.edu> <09153aed-361d-4f82-d9ac-b502314769ae@cs.ucla.edu> <83600yt8ih.fsf@gnu.org> <83h8kgpnir.fsf@gnu.org> <7dd71d44-69bc-3adf-576b-8b9e31184a24@cs.ucla.edu> <83d0v4p1si.fsf@gnu.org> <827beb76-3adf-f2f9-33b1-1baee55680cd@cs.ucla.edu> <83wotbo04h.fsf@gnu.org> <77d5f8b0-2277-b28e-8565-d3e00c411795@cs.ucla.edu> <83ftzyocry.fsf@gnu.org> <837elao4bo.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1533914030 10560 195.159.176.226 (10 Aug 2018 15:13:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2018 15:13:50 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: eliz@gnu.org, eggert@cs.ucla.edu, emacs-devel@gnu.org To: Pip Cet Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 10 17:13:46 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fo96n-0002dC-TH for ged-emacs-devel@m.gmane.org; Fri, 10 Aug 2018 17:13:46 +0200 Original-Received: from localhost ([::1]:56691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fo98s-00079l-Jn for ged-emacs-devel@m.gmane.org; Fri, 10 Aug 2018 11:15:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fo98g-00078M-OF for emacs-devel@gnu.org; Fri, 10 Aug 2018 11:15:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fo98d-0004wk-Iq for emacs-devel@gnu.org; Fri, 10 Aug 2018 11:15:42 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:52897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fo98d-0004v8-Bm; Fri, 10 Aug 2018 11:15:39 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w7AFFUap008873; Fri, 10 Aug 2018 11:15:31 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 45D9EAE1F5; Fri, 10 Aug 2018 11:15:30 -0400 (EDT) In-Reply-To: (Pip Cet's message of "Fri, 10 Aug 2018 11:12:43 +0000") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6349=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6349> : inlines <6808> : streams <1795104> : uri <2686955> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:228383 Archived-At: > That sounds promising! However, I wonder whether NaN-boxing isn't the > right thing to do once we have bignums (on platforms that support it, > by limiting pointers to 48 bits like x86-64 does). I'm doing that in NaN boxing implies 64bit boxes, which on 32bit platforms imposes a non-negligible overhead. So, I think it'd end up costing significantly more than the tentative patch with which Paul and I have been playing. Stefan