[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Removing some workarounds for big integers
From: |
John Wiegley |
Subject: |
Re: Removing some workarounds for big integers |
Date: |
Mon, 20 Aug 2018 14:55:08 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (darwin) |
>>>>> "P" == Philipp <address@hidden> writes:
P> now that Emacs has big integers, would it make sense to remove some of the
P> workarounds for lack of big integer support that are still present?
P> Specifically, the ‘make_fixnum_or_float’ and ‘INTEGER_TO_CONS’ macros. A
P> replacement that would generate a fixnum or bignum depending on the input
P> value seems strictly superior. (It would require a bit more memory, but I
P> don’t think memory pressure is an issue here.)
Sounds reasonable to me.
--
John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2