From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Making 'eq' == 'eql' in bignum branch Date: Mon, 27 Aug 2018 18:37:51 +0300 Message-ID: <83tvnf4y7k.fsf@gnu.org> References: <09153aed-361d-4f82-d9ac-b502314769ae@cs.ucla.edu> <83lg91dqd4.fsf@gnu.org> <20180826201947.GC1867@ACM> <83in3w5yml.fsf@gnu.org> <834lff6ejd.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1535384279 6921 195.159.176.226 (27 Aug 2018 15:37:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Aug 2018 15:37:59 +0000 (UTC) Cc: eggert@cs.ucla.edu, rms@gnu.org, emacs-devel@gnu.org, pipcet@gmail.com, acm@muc.de, larsi@gnus.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 27 17:37:54 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 1fuJaR-0001br-LC for ged-emacs-devel@m.gmane.org; Mon, 27 Aug 2018 17:37:51 +0200 Original-Received: from localhost ([::1]:33979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuJcY-0003oa-4i for ged-emacs-devel@m.gmane.org; Mon, 27 Aug 2018 11:40:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuJaj-0002uz-EI for emacs-devel@gnu.org; Mon, 27 Aug 2018 11:38:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fuJaf-0006Mj-Og for emacs-devel@gnu.org; Mon, 27 Aug 2018 11:38:09 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuJae-0006MA-HP; Mon, 27 Aug 2018 11:38:05 -0400 Original-Received: from [176.228.60.248] (port=1939 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fuJaX-0000ED-MP; Mon, 27 Aug 2018 11:37:58 -0400 In-reply-to: (message from Stefan Monnier on Mon, 27 Aug 2018 11:18:21 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:228980 Archived-At: > From: Stefan Monnier > Cc: acm@muc.de, eggert@cs.ucla.edu, rms@gnu.org, larsi@gnus.org, > pipcet@gmail.com, emacs-devel@gnu.org > Date: Mon, 27 Aug 2018 11:18:21 -0400 > > >> BTW, anyone interested in adding support for buffers larger than > >> most-positive-fixnum (using bignums) so that it can also be > >> done --without-wide-int? > > Wouldn't that be much slower than --with-wide-int? > > I don't want to pay for --with-wide-int in my builds because I almost > never look at such large files. How can you not pay for that? If you are saying that operating on buffers and strings will only use GMP when we exceed the C limits, it would mean an addition of a lot of tests where we currently just do simple arithmetics on buffer/string positions. Or am I missing something?