Changed COMPUTE-KEY-HASH to compute hash value optimistically and only
authorStephen Adams <edu/mit/csail/zurich/adams>
Sun, 30 Apr 1995 15:09:15 +0000 (15:09 +0000)
committerStephen Adams <edu/mit/csail/zurich/adams>
Sun, 30 Apr 1995 15:09:15 +0000 (15:09 +0000)
commit3830d715002318763e687808a9f69798f1fe1b9c
tree6052089dee7f91999eae0f1fd443564c2a93d9e0
parent2a139f95ff5e4c116bc3cc07b3198fd80791165c
Changed COMPUTE-KEY-HASH to compute hash value optimistically and only
go into the SET-INTERRUPT-ENABLES! guarded loop if, as a post-check,
the table needs rehashing.

On a test case (the new compiler on list.scm) this reduces the
profiled time in SET-INTERRUPT-ENABLES! from 9.9% to 3.4%
v7/src/runtime/hashtb.scm