In addition to Andy's caveats, remember that hash code equality doesn't 
imply object equality.

In concrete terms,

   a = b implies h(a) = h(b),

with the useful bit being

  h(a) ≠ h(b) implies a ≠ b.

On Monday, October 13, 2014 2:04:57 AM UTC-4, Sunil Nandihalli wrote:
>
> Hi,
> Is the clojure hash function guaranteed to produce the same hash on 
> different jvms running on different jvms for the same "data-structure" 
> which would satisfy "equality" if checked on a single jvm. The data 
> structure is simply a hash-map.
> Thanks,
> Sunil.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to