0:28:11
Dictionaries Behind The Scenes
Django London 2020 · January 19, 2021
Python dictionaries are hash tables, so their keys must be hashable: their hash must remain stable throughout their lifetime, and objects that compare equal must have equal hashes. Gisela Rossi explains how collisions affect performance and can be exploited for denial-of-service attacks, then traces Python’s…