Changes between Initial Version and Version 1 of Ticket #27967, comment 29


Ignore:
Timestamp:
08/23/19 12:44:38 (2 years ago)
Author:
slabbe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27967, comment 29

    initial v1  
    1 Since Python 2.7, there is OrderedDict that we may use. It is written in pure Python, but according to the first answer of [https://stackoverflow.com/questions/8176513/ordereddict-performance-compared-to-deque this question] "''Starting with Python 3.5, OrderedDict() now has a C implementation.''"
     1Since Python 2.7, there is !OrderedDict that we may use. It is written in pure Python, but according to the first answer of [https://stackoverflow.com/questions/8176513/ordereddict-performance-compared-to-deque this question] "''Starting with Python 3.5, `OrderedDict()` now has a C implementation.''"
    22
    33My commit seems to work on Python 2. I did not check on Python 3.