From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master cf28594 2/4: Improve doc for hash tables
Date: Mon, 22 Jul 2019 09:36:25 -0400 [thread overview]
Message-ID: <jwv5znutcs0.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20190721182420.57AA720BE2@vcs0.savannah.gnu.org> (Paul Eggert's message of "Sun, 21 Jul 2019 14:24:20 -0400 (EDT)")
> * src/fns.c (Fsxhash_eq, Fsxhash_eql, Fsxhash_equal):
> Say that hashes are fixnums.
[ Related to discussions we had about the need for fixnump and such
things. ]
I think we should try to try and avoid exposing the notion of "fixnum",
so here for instance, we should likely just accept any integer plus
document that only the lowest N bits are used where N is
platform-dependent (and it could even be different from the number of
bits in fixnums, in case we want to use the full 32bit/64bit range of
ints for hashes).
Stefan
next prev parent reply other threads:[~2019-07-22 13:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20190721182418.6344.52048@vcs0.savannah.gnu.org>
[not found] ` <20190721182420.CA41920BE2@vcs0.savannah.gnu.org>
2019-07-21 18:58 ` master d02c2f7 4/4: Speed up maybe_gc when GC is inhibited Pip Cet
2019-07-21 19:33 ` [Emacs-diffs] " Paul Eggert
[not found] ` <20190721182420.57AA720BE2@vcs0.savannah.gnu.org>
2019-07-22 13:36 ` Stefan Monnier [this message]
2019-07-23 4:33 ` [Emacs-diffs] master cf28594 2/4: Improve doc for hash tables Paul Eggert
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=jwv5znutcs0.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=eggert@cs.ucla.edu \
--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).