You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep in mind that dictionaries do not maintain any sense of order for the input parameters; this is by design. This lack of ordering allows dictionaries to be implemented very efficiently, so that random element access is very fast, regardless of the size of the dictionary (if you're curious how this works, read about the concept of a hash table).
Now that Python 3.6 has ordered and more efficient dictionaries, this statement should be changed, no? Maybe re-word the existing sentence starting with "This lack ..." or add a new one pointing to e.g. https://docs.python.org/3/whatsnew/3.6.html#new-dict-implementation ?
The text was updated successfully, but these errors were encountered:
Currently you have this statement about Python dictionaries:
http://nbviewer.jupyter.org/github/jakevdp/WhirlwindTourOfPython/blob/master/06-Built-in-Data-Structures.ipynb#Dictionaries
Now that Python 3.6 has ordered and more efficient dictionaries, this statement should be changed, no? Maybe re-word the existing sentence starting with "This lack ..." or add a new one pointing to e.g. https://docs.python.org/3/whatsnew/3.6.html#new-dict-implementation ?
The text was updated successfully, but these errors were encountered: