/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
A “frozen” dictionary for Python
(lwn.net)
191 points
jwilk
| 1 comments |
11 Dec 25 09:51 UTC
|
HN request time: 0.327s
|
source
1.
kleiba
◴[
12 Dec 25 09:03 UTC
]
No.
46242232
[source]
▶
>>46229467 (OP)
#
One nice side effect of a dict that's immutable is that under the hood, you could employ perfect hashing so that the your dict uses a hash function that is collision-free.
ID:
GO
↑