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: bignum branch Date: Mon, 16 Jul 2018 17:40:10 +0300 Message-ID: <83va9f8cs5.fsf@gnu.org> References: <87o9fbbw1t.fsf@tromey.com> <86in5jdj49.fsf@gmail.com> <83wotxaiwi.fsf@gnu.org> <86k1pxmvmx.fsf@gmail.com> <87efg4a9xc.fsf@tromey.com> <83d0voa6fw.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1531751888 11047 195.159.176.226 (16 Jul 2018 14:38:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2018 14:38:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 16 16:38:04 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 1ff4dW-0002kA-B1 for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2018 16:38:02 +0200 Original-Received: from localhost ([::1]:52195 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff4fd-0001Ts-6V for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2018 10:40:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff4fW-0001Tm-Ll for emacs-devel@gnu.org; Mon, 16 Jul 2018 10:40:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ff4fS-00082l-Od for emacs-devel@gnu.org; Mon, 16 Jul 2018 10:40:06 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff4fS-00082f-K9; Mon, 16 Jul 2018 10:40:02 -0400 Original-Received: from [176.228.60.248] (port=4636 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ff4fS-0007Rj-1G; Mon, 16 Jul 2018 10:40:02 -0400 In-reply-to: (message from Stefan Monnier on Mon, 16 Jul 2018 08:19:07 -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:227454 Archived-At: > From: Stefan Monnier > Date: Mon, 16 Jul 2018 08:19:07 -0400 > > > Yes, we need such wrappers in those cases. Another use case is a > > 32-bit build --with-wide-int. > > Tho, eventually, bignums should make --with-wide-int redundant. Only if we allow buffer and string text be referenced by a bignum, and if the performance is comparable with --with-wide-int. Is it reasonable to expect a comparable performance from native 32-bit code calculating 64-bit values vs function calls? I think I'd be surprised.