[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hash table question
- To: common-lisp@su-ai.arpa
- Subject: hash table question
- From: sandra%utah-orion@utah-cs.arpa (Sandra J Loosemore)
- Date: Mon, 24 Nov 86 14:00:10 MST
Is hashing supposed to "work" if destructive operations are performed on
the hashed object, or is the hash index computed for an object a function
of what's "in" the object rather than the object itself? As an example,
does this bit of code always return true?
(let* ((cons (cons 'a 'b))
(before (sxhash cons))
(after (sxhash (rplaca cons 'foobar))))
(eql before after))
-Sandra
-------