[issue15573] Support unknown formats in memoryview comparisons
Nick Coghlan
report at bugs.python.org
Wed Aug 29 11:51:28 CEST 2012
Nick Coghlan added the comment:
Perhaps the hash could just be based on a subset of the items? For example, hash the format, shape and the first and last items?
Yes, such an approach means you're more likely to get collisions if you do start hashing these, but that seems better than making hashing itself excessively slow.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15573>
_______________________________________
More information about the Python-bugs-list
mailing list