Fix glitches in recent hash table changes
commitc8d14cfc6c2d19077d137c7e917fbb4f104de222
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 19 Feb 2017 20:22:33 +0000 (19 12:22 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 19 Feb 2017 20:23:19 +0000 (19 12:23 -0800)
treef04b71e2985c9399af5de2093600855899b009de
parent5c1ebfc504bc0649a9e1105b1d9265c461739254
Fix glitches in recent hash table changes

* src/fns.c (Fmake_hash_table): Simplify the machine code slightly
by using 0 rather than -1.
* src/lisp.h (struct Lisp_Hash_Table.pure): Now bool rather
than a bitfield, for speed (the bitfield did not save space).
(struct Lisp_Hash_Table.rehash_threshold): Now double rather than
float, since the float caused unwanted rounding errors, e.g.,
(hash-table-rehash-threshold (make-hash-table)) yielded
0.800000011920929 instead of the correct 0.8.
src/fns.c
src/lisp.h