emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing some workarounds for big integers


From: Philipp Stephani
Subject: Re: Removing some workarounds for big integers
Date: Fri, 21 Sep 2018 21:32:54 +0200



Andy Moreton <address@hidden> schrieb am Di., 21. Aug. 2018 um 00:59 Uhr:
On Mon 20 Aug 2018, Philipp wrote:

> Hi,
>
> now that Emacs has big integers, would it make sense to remove some of
> the workarounds for lack of big integer support that are still present?
> Specifically, the ‘make_fixnum_or_float’ and ‘INTEGER_TO_CONS’ macros.
> A replacement that would generate a fixnum or bignum depending on the
> input value seems strictly superior.  (It would require a bit more
> memory, but I don’t think memory pressure is an issue here.)

Yes, but that requires identifying all of the callers, and converting
them to support bignums. All fixable, but work to be done.

It looks like Paul has already done most of this work in commit d77d01d22902acdc45c2c7059de4f1b158ab5806. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]