PyCon UK 2019

Dictionaries, behind the scenes
2019-09-15, 12:30–13:00, Room D

Have you ever wondered how Python’s dictionaries work behind the scenes? For the curious minds: we will unveil some of the magic, things ranging from performance to security, and some surprises. For the pragmatists: we’ll see cases where understanding the internals can have practical applications


You have been working with Python dictionaries for a while and you feel comfortable using them, now you’re interested in taking the next step. With this talk you’ll get a look at how dictionaries work on the inside, things ranging from performance to security, and some surprises. You’ll also learn how to personalise your dicts, for example modifying the hash function (and the risks of doing it). You will leave knowing your tools better and loving python dicts even more.


Is your proposal suitable for beginners? – maybe