From: Philipp <p.stephani2@gmail.com>
To: emacs-devel@gnu.org
Subject: Removing some workarounds for big integers
Date: Mon, 20 Aug 2018 23:43:10 +0200 [thread overview]
Message-ID: <m2d0uc90k1.fsf@gmail.com> (raw)
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.)
Philipp
next reply other threads:[~2018-08-20 21:43 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-20 21:43 Philipp [this message]
2018-08-20 21:55 ` Removing some workarounds for big integers John Wiegley
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=m2d0uc90k1.fsf@gmail.com \
--to=p.stephani2@gmail.com \
--cc=emacs-devel@gnu.org \
/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).