From: Bryan Kramer

Subject: re: strange hash table calls

Date: 1998-10-20 18:30

I'm using an EQ hash table that uses structs as keys ...

(make-hash-table :test #'eq)

but the execution profile makes it look like equal tests are being
used:

              344.7  82.2        GETHASH
               74.0  17.7        EXCL::%PUTHASH
 44.4  63.8   419.2  69.6   EXCL::EQUAL-NOT-EQ
               72.5  17.3        BIT-VECTOR-P
               54.2  12.9        STRINGP

Does this mean that the EQ hash is using sxhash and trying to make
sure that equal keys have equal hash positions?

It turns out that this hash table is using a huge part of my execution
time so any hints as to how to improve the speed would be appreciated.

I don't control the definition of the structures (third party product)
so adding a slot to the structure isn't an option.

Thanks

Bryan M. Kramer, Ph.D.
Software Architect
Techné Knowledge Systems Inc.
439 University Ave., Suite 900, Toronto ON M5G 1Y8
416-977-3960  fax 416-977-9902    www.techne.ca