dictionnary
Jump to navigation
Jump to search
English[edit]
Etymology[edit]
Non-native use derived from French dictionnaire.
Noun[edit]
dictionnary (plural dictionnaries)
- Obsolete spelling of dictionary.
- (non-native speakers' English) Misspelling of dictionary.
- 2002 May 16, Alexandre Fayolle, “sorted list vs dictionnary”, in comp.lang.python[2] (Usenet), retrieved 2022-06-04:
- I'd expect the first one to be faster, since the lookup of a key in a dictionnary is O(1), and insertion is a dictionnary is roughly O(1) too, whereas bisect_left is O(log(N)), and inserting in the middle of a list is O(N).