dict is ordered now in versions of python we support. And according to https://realpython.com/python-ordereddict/ - dict seems to generally outperform OrderedDict in CPU and memory, and I don't think we use any of specific to OrderedDict functionality.
(git)lena:~datalad/datalad-maint[bf-sve]git
$> git grep OrderedDict | wc -l
64
I think it would not hurt to just switch to just use dict.
dictis ordered now in versions of python we support. And according to https://realpython.com/python-ordereddict/ -dictseems to generally outperformOrderedDictin CPU and memory, and I don't think we use any of specific to OrderedDict functionality.I think it would not hurt to just switch to just use
dict.