From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Making --with-wide-int the default Date: Fri, 13 Nov 2015 11:30:53 +0200 Message-ID: <831tbugsaa.fsf@gnu.org> References: <5610ED13.1010406@dancol.org> <56117F37.9060808@dancol.org> <83oag087gs.fsf@gnu.org> <83oafz70im.fsf@gnu.org> <5620AF43.4050401@cs.ucla.edu> <83k2qn6xfm.fsf@gnu.org> <5620B4FA.1000804@cs.ucla.edu> <83wptojs1r.fsf@gnu.org> <56444C66.8050506@gmx.at> <83r3jugx8g.fsf@gnu.org> <87io56nu0a.fsf@fencepost.gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1447407126 7812 80.91.229.3 (13 Nov 2015 09:32:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Nov 2015 09:32:06 +0000 (UTC) Cc: rudalics@gmx.at, jwiegley@gmail.com, rms@gnu.org, emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 13 10:31:56 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZxAhd-0000Wt-R1 for ged-emacs-devel@m.gmane.org; Fri, 13 Nov 2015 10:31:29 +0100 Original-Received: from localhost ([::1]:51850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxAhd-0002sb-AM for ged-emacs-devel@m.gmane.org; Fri, 13 Nov 2015 04:31:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxAhL-0002pv-RR for emacs-devel@gnu.org; Fri, 13 Nov 2015 04:31:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxAhK-00071o-TM for emacs-devel@gnu.org; Fri, 13 Nov 2015 04:31:11 -0500 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:42443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxAhH-00071I-2T; Fri, 13 Nov 2015 04:31:07 -0500 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NXQ00C00XZONK00@mtaout25.012.net.il>; Fri, 13 Nov 2015 11:28:39 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NXQ00A6LYBQTE30@mtaout25.012.net.il>; Fri, 13 Nov 2015 11:28:39 +0200 (IST) In-reply-to: <87io56nu0a.fsf@fencepost.gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194337 Archived-At: > From: David Kastrup > Cc: rms@gnu.org, rudalics@gmx.at, emacs-devel@gnu.org, jwiegley@gmail.com > Date: Fri, 13 Nov 2015 10:11:49 +0100 > > Also the cell size doubles, so the Lisp data structures take more > memory. I think it is quite reasonable _not_ to use wide ints by > default on architectures with a 32-bit address space. Everything takes > up more memory, the maximum of virtual address space is something like > 3GB anyway so it's not like you could hope to increase the amount of > stuff you could be editing all that much: it is more likely that with > several buffers loaded at once, you'll _decrease_ the overall amount of > stuff you can keep loaded into buffers at the same time. I think the much large buffer size limit is more important than these considerations. (Your fears about decreasing the buffer size are unfounded: I actually tried using 1.5GB buffers, and it worked every time). And there's a configure-time switch to not use wide ints for those who think otherwise. So on balance, I think it's an improvement. If I'm wrong, we have the pretest to indicate that, and we can always turn it back off by default if needed before the release.