Modern Dictionaries by Raymond Hettinger
9 人推荐 · 跨 9 个月 · 2016–2025

中文导读
Python 核心开发者 Raymond Hettinger 揭秘字典底层演进之路。用图解和极简纯 Python 代码,透彻拆解了 Python 3.6 是如何将哈希表重构为兼顾紧凑内存、保序及版本控制的精妙结构。
为什么 HN 推它
哈希表底层实现与 Python 字典机制的教科书级经典演讲,通俗易懂又极具深度,常年稳居 HN 工程师推荐片单。
「这是我很长时间以来看过的最具洞见的技术视频之一。」HN 网友原话:one of the most insightful videos I've seen in a long time.
英文原摘要(HackerTube / Claude 整理)
Python core developer Raymond Hettinger explains how Python's dictionary implementation evolved into the compact, ordered dict in Python 3.6. He uses pictures and small bits of pure Python, and covers key-sharing, compaction and versioning.
HN treats it as the definitive, engaging talk on hash table internals and Python dict ordering, and recommends it in tech-talk lists.
HN 上的提及
one of the most insightful videos I've seen in a long time.
Raymond Hettinger made an interesting talk about Python's dict (hash table)
is a quite interesting and technical talk about these changes
Offered as a favourite tech talk.
Talk by Raimond Hettinger about the new implementation with several other implementations