https://issues.dlang.org/show_bug.cgi?id=16654

Steven Schveighoffer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Steven Schveighoffer <[email protected]> ---
As I determined in that thread, note that core.internal.hash.hashOf does not do
the same thing as object.hashOf. It hashes only the bits of the given type.

I can't think of a single valid reason for hashing the pointer and length of an
array instead of the contents of the array. I don't know the right answer here,
but at the very least hashOf isn't documented or understood properly.

--

Reply via email to