[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Removing some workarounds for big integers
From: |
Andy Moreton |
Subject: |
Re: Removing some workarounds for big integers |
Date: |
Mon, 20 Aug 2018 23:57:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (windows-nt) |
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.
AndyM