From: "John Wiegley" <johnw@gnu.org>
To: Philipp <p.stephani2@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Removing some workarounds for big integers
Date: Mon, 20 Aug 2018 14:55:08 -0700 [thread overview]
Message-ID: <m28t50itz7.fsf@newartisans.com> (raw)
In-Reply-To: <m2d0uc90k1.fsf@gmail.com> (Philipp's message of "Mon, 20 Aug 2018 23:43:10 +0200")
>>>>> "P" == Philipp <p.stephani2@gmail.com> 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
next prev parent reply other threads:[~2018-08-20 21:55 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-20 21:43 Removing some workarounds for big integers Philipp
2018-08-20 21:55 ` John Wiegley [this message]
2018-08-20 22:57 ` Andy Moreton
2018-09-21 19:32 ` Philipp Stephani
2018-09-21 23:12 ` Paul Eggert
2019-04-22 15:40 ` Philipp Stephani
2019-04-22 16:43 ` Andy Moreton
2019-04-22 16:59 ` Philipp Stephani
2019-04-22 18:45 ` Paul Eggert
2020-08-01 20:09 ` Philipp Stephani
2020-08-05 6:11 ` Paul Eggert
2020-08-09 15:39 ` Philipp Stephani
2020-08-09 16:13 ` Philipp Stephani
2020-08-09 17:04 ` Stefan Monnier
2020-08-09 17:26 ` Paul Eggert
2020-10-13 19:10 ` Philipp Stephani
2019-04-22 18:57 ` Paul Eggert
2020-08-01 20:15 ` Philipp Stephani
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m28t50itz7.fsf@newartisans.com \
--to=johnw@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=p.stephani2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).