Nov 18
Python WTF?
>>> for i in range (0, 10):
... hash(i)
...
0
1
2
3
4
5
6
7
8
9
>>> hash(123324)
123324
>>> hash(785345345436845768)
785345345436845768
>>>
WTF?
Filed under //
geek
Comments (2)
Nov 19, 2009
Roman Kirillov said...
OK, it's not that bad really:
Holger Dürer said...
So what is the WTF here? You were hoping for the hash value to be better mixed for similar numbers?


