❝HN 片单

Raymond Hettinger Modern Python Dictionaries A confluence of a dozen great ideas PyCon 2017

PyCon 2017 · 3 位 HN 用户推荐 · 2019–2026

  1. TL;DR: You first need to look for the hash "tombstone", then you need to find the actual insertion which may be very far away. Raymond Hettinger (HN commenter and all around Smart Dude (tm)) has a good talk from PyCon 2017 about the evolution of Python dictionaries that goes into tombstones and so much more: [link]
    — linsomniac, 2019
  2. It actually improves performance. Or at least, it comes along with a set of performance improvements that give you ordering for free. Raymond Hettinger has a great talk on it: [link]
    — TheFlyingFish, 2020
  3. The lesson of the talk is that if you are idiomatic then you will benefit as the language improves. [link]
    — northisup, 2026

← HN 片单