(sxhash (make-instance 'ext:standard-stablehash)) => 3614431684

Sam Steingold <[email protected]> Fri, 12 Jan 2018 13:26:32 -0500
Newsgroups gmane.lisp.clisp.devel
Message-ID <[email protected]>
Hi Bruno,

I understand that SXHASH is not guaranteed to be different for different
instances:

--8<---------------cut here---------------start------------->8---
> (sxhash (make-instance 'ext:standard-stablehash))
3614431684
> (sxhash (make-instance 'ext:standard-stablehash))
3614431684
> (sxhash (make-instance 'ext:structure-stablehash))
83368493
> (sxhash (make-instance 'ext:structure-stablehash))
83368493
--8<---------------cut here---------------end--------------->8---

However, it seems like it _could_ do better.

This brings another question:
why is sxhash_atom different from hashcode3stable_atom?

Thanks.

--
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1561
http://steingoldpsychology.com http://www.childpsy.net https://ffii.org
http://thereligionofpeace.com http://honestreporting.com http://jij.org
If brute force does not work, you are not using enough.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel