diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2009-11-09 18:02:10 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2009-11-09 18:02:10 -0800 |
commit | 6ce701137e44f06b68e772d2b8cbaef72800cd31 (patch) | |
tree | 69875af99c4dd4ea3a20cb90591deca4fa5a3872 /ChangeLog | |
parent | dd68bf698a5618226fb3807d752c4ff73966cb5f (diff) | |
download | txr-6ce701137e44f06b68e772d2b8cbaef72800cd31.tar.gz txr-6ce701137e44f06b68e772d2b8cbaef72800cd31.tar.bz2 txr-6ce701137e44f06b68e772d2b8cbaef72800cd31.zip |
Add hash table growth.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,15 @@ 2009-11-06 Kaz Kylheku <kkylheku@gmail.com> + Add hash table growth. + + hash.c (hash_grow): New function. + (l_gethash): Renamed to gethash_l. Increment count; if load + factor gets to two, call hash_grow to double the size. + + hash.h (l_gethash): Declaration changed to gethash_l. + +2009-11-06 Kaz Kylheku <kkylheku@gmail.com> + Changing representation of objects to allow the NUM type to be unboxed. If the lowest bit of the obj_t * pointer is 1, then the remaining bits are a number. A lot of assumptions are made: |