100x speedup on this benchmark
py2many.py --rust=1 test.py
rustc -O test.rs
$ time -p ./test.py
$ time -p ./test 3
Also added this benchmark as a test case, so we don't regress.
Adding another backend is easy, given there are 7 backends already.
Are dicts ordered? Not by default. It should be possible to translate Python's ordereddict to one in the target language.
Just mapping max/min was hard enough. In some languages max(1,2) produces a float!
From an implementation perspective, doing it for the ordereddict special case is much simpler.
Bringing it to the same level as other languages is probably several weeks of work. Pull requests welcome.
Please add details if any