1.0.4.11: trivial hash-table cleanup / optimization
authorNikodemus Siivola <nikodemus@random-state.net>
Sat, 31 Mar 2007 10:12:15 +0000 (10:12 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Sat, 31 Mar 2007 10:12:15 +0000 (10:12 +0000)
commit279283bc1724b60ef9ebbf31ab4837061989be18
tree4de048c8506f52b0e768224d0c04e3a24a83f2ec
parent055ce77ed25e387a4061653709fe1e03c193eb92
1.0.4.11: trivial hash-table cleanup / optimization

 * Hash table code does lots of AREFs using indexes (* 2 i) and (1+ (* 2 i)),
   where I obviously has to be less then (floor array-dimension-limit 2),
   for which both calculations are known to fit into a fixnum.

 * Define such a type (aka INDEX/2) and use it where appropriate. We
   were already doing this in WITH-HASH-TABLE-ITERATOR, but not
   elsewhere.
src/code/early-extensions.lisp
src/code/hash-table.lisp
src/code/target-hash-table.lisp
version.lisp-expr