comparison src/ChangeLog @ 4398:479443c0f95a

Have list hashes depend on the order of the contents, as is the case for vectors. src/ChangeLog addition: 2008-01-16 Aidan Kehoe <kehoea@parhasard.net> * elhash.c (internal_hash): Make short lists with the same contents in a different order hash distinctly. Gives better performance for things like three-element lists describing colours. Thank you Sebastian Freundt! tests/ChangeLog addition: 2008-01-16 Aidan Kehoe <kehoea@parhasard.net> * automated/hash-table-tests.el: Assert that two short lists with the same contents in distinct orders hash differently.
author Aidan Kehoe <kehoea@parhasard.net>
date Wed, 16 Jan 2008 15:20:51 +0100
parents cacc942c0d0f
children 80e07b006f9c
comparison
equal deleted inserted replaced
4397:9e28067e3083 4398:479443c0f95a
1 2008-01-16 Aidan Kehoe <kehoea@parhasard.net>
2
3 * elhash.c (internal_hash):
4 Make short lists with the same contents in a different order hash
5 distinctly. Gives better performance for things like three-element
6 lists describing colours. Thank you Sebastian Freundt!
7
1 2008-01-15 Aidan Kehoe <kehoea@parhasard.net> 8 2008-01-15 Aidan Kehoe <kehoea@parhasard.net>
2 9
3 * print.c (prin1_to_string): New. 10 * print.c (prin1_to_string): New.
4 The guts of Fprin1_to_string, without resetting 11 The guts of Fprin1_to_string, without resetting
5 Vprint_gensym_alist. 12 Vprint_gensym_alist.