-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index is not hashable #2461
Comments
This could be made to work but won't make Index a valid dict key (since |
since index keys are immutable, having a hash based on them would have enabled a fast check for |
I'd thought at one point about adding an MD5 hash. That would work for indexes that don't contain Python objects |
Well, I guess you could hash the python objects then md5 the array of hash values. Some probability of collisions / equal md5 hash but unequal indexes. harrumph |
it would need to be at construction time o'course, otherwise no gain over vector compare, |
We should just write a custom set of vector compares-- the problem with |
Marked as 0.11. Should think about this eventually |
marked 'someday'. |
|
In the year since I haven't needed this again. Would need much stronger use case to commit to semantics on implementaition, |
The text was updated successfully, but these errors were encountered: