Reference implementation of set-comparator/bag-comparator Shiro Kawai (24 Apr 2016 01:51 UTC)
Fwd: Reference implementation of set-comparator/bag-comparator Arthur A. Gleckler (25 Apr 2016 03:42 UTC)
Re: Reference implementation of set-comparator/bag-comparator John Cowan (25 Apr 2016 21:30 UTC)

Re: Reference implementation of set-comparator/bag-comparator John Cowan 25 Apr 2016 21:30 UTC

Shiro Kawai scripsit:

> The result of sob-hash function in the original reference implementation
> depends on the order that hash-table-for-each visits entries, but
> I believe it should not.  The PR is a suggested fix--there may be a
> better one.

I'm not happy with a portable implementation that depends on SRFI 60
just for this one feature.  How about just adding the hashes for the
elements together?  Not ideal, but it is what Java does.

If you're okay with it, can you send another pull request?  Thanks.

--
John Cowan          http://www.ccil.org/~cowan        xxxxxx@ccil.org
I suggest you solicit aid of my followers or learn the difficult art
of mud-breathing.  --Great-Souled Sam