8abb35372a
The parsing step is considerably slower in Python, but if parsing is moved out of the test function, Python wins at 45ms to Rust's 67ms on 10,000 rounds, presumably due to the overhead of serializing to Protobuf. Not enough of a difference to justify the inclusion of extra dependencies and duplicating the lookup code in any case. |
||
---|---|---|
.. | ||
anki | ||
tests | ||
tools | ||
.gitignore | ||
.isort.cfg | ||
.pylintrc | ||
Makefile | ||
mypy.ini | ||
requirements.dev | ||
setup.py |