diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-06-18 22:03:25 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-06-18 22:03:25 -0700 |
commit | 70890e6941a4bdbfd0067b60260b7307a874d38b (patch) | |
tree | 9e8d3c13599196754d6c8d8272942643b6ccae01 /lisplib.c | |
parent | ceea7281987c950e6bd5c72d7c93a5471a941e4e (diff) | |
download | txr-70890e6941a4bdbfd0067b60260b7307a874d38b.tar.gz txr-70890e6941a4bdbfd0067b60260b7307a874d38b.tar.bz2 txr-70890e6941a4bdbfd0067b60260b7307a874d38b.zip |
Improvements in equal hashing function.
* hash.c (equal_hash): For conses and vectors, ensure that
distinct permutations lead to different hash codes. This is done by
accumulating the partial hash with a multiplier, rather than just
adding subhashes.
Diffstat (limited to 'lisplib.c')
0 files changed, 0 insertions, 0 deletions