From: Philipp Stephani <p.stephani2@gmail.com>
To: Andy Moreton <andrewjmoreton@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Removing some workarounds for big integers
Date: Fri, 21 Sep 2018 21:32:54 +0200 [thread overview]
Message-ID: <CAArVCkRYM_ay7PN4ZRR8EUR1-xkQ-WDvyo8OtNJpDMBvk5Co-g@mail.gmail.com> (raw)
In-Reply-To: <86d0uck5o0.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 846 bytes --]
Andy Moreton <andrewjmoreton@gmail.com> 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.
[-- Attachment #2: Type: text/html, Size: 1181 bytes --]
next prev parent reply other threads:[~2018-09-21 19:32 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
2018-08-20 22:57 ` Andy Moreton
2018-09-21 19:32 ` Philipp Stephani [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAArVCkRYM_ay7PN4ZRR8EUR1-xkQ-WDvyo8OtNJpDMBvk5Co-g@mail.gmail.com \
--to=p.stephani2@gmail.com \
--cc=andrewjmoreton@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.