1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 07:11:34 -08:00
emacs/doc
Paul Eggert f378ed1a0b Avoid overexposing fixnums for hash codes
Following a suggestion by Stefan Monnier in:
https://lists.gnu.org/r/emacs-devel/2019-07/msg00530.html
* doc/lispref/hash.texi (Creating Hash, Defining Hash):
* src/fns.c (Fsxhash_eq, Fsxhash_eql, Fsxhash_equal, Fmake_hash_table):
Don’t insist that hash codes be fixnums, reverting
the recent doc changes to the contrary.
* src/bytecode.c (exec_byte_code): Special-case only the eq case,
as the others aren’t worth tuning now that we treat bignum hashes
like fixnums.
* src/fns.c (hashfn_user_defined): If the hash code is a bignum,
reduce its hash down to a fixnum.
2019-07-22 21:28:18 -07:00
..
emacs Support history files in remote shells (Bug#36742) 2019-07-22 13:04:14 +02:00
lispintro Adjust comments/debug to match C bignum code 2019-06-04 08:34:16 -07:00
lispref Avoid overexposing fixnums for hash codes 2019-07-22 21:28:18 -07:00
man Add Zstandard compression support for etags 2019-06-24 16:08:12 +02:00
misc Merge from emacs-26 2019-07-20 22:02:36 -04:00