News How To Use Dictionaries in Python

Status
Not open for further replies.
Funny that this article showed up today as I just had to lookup python dictionaries this morning. Only because I only use python sparingly and I always forget little details of how it does some of its things compared to C#.
 
I'm sure this is useful for some, but I hope every budding Python programmer has seen & knows how to find the Tutorial and Library Reference:

What would've made it useful for me is to know a bit about how Dictionaries are implemented and their performance-scaling characteristics. I assume they use some form of hash table, although I wouldn't mind knowing more specifics. Anyway, the article is long enough as is, but you might consider doing a "Python Code Optimization" tutorial, at some point.

Another thought I just had is that you could point out interesting places & ways that Dictionaries play into the language, itself.
 
Status
Not open for further replies.