Hi,
I wanted to point out to 2 alternative implementations of OrderedSet.
StableSet which is based on dict.keys() (and is faster for some use cases), and OrderedSet which resembles your implementation, although it is slower as it is pure python and not Cython - It might be another alternative until #36 is fixed.
I also used your tests to test full compatibility between your implementation and 2 other implementations.
Please have a look if you are interested:
https://pypi.org/project/stableset/
I made a PR to merge it upstream:
https://github.com/rspeer/ordered-set/pull/92/files
Hi,
I wanted to point out to 2 alternative implementations of
OrderedSet.StableSetwhich is based ondict.keys()(and is faster for some use cases), andOrderedSetwhich resembles your implementation, although it is slower as it is pure python and not Cython - It might be another alternative until #36 is fixed.I also used your tests to test full compatibility between your implementation and 2 other implementations.
Please have a look if you are interested:
https://pypi.org/project/stableset/
I made a PR to merge it upstream:
https://github.com/rspeer/ordered-set/pull/92/files