STINNER Victor <vstin...@python.org> added the comment:
I also suggest you to not focus on such micro-benchmarks. It's not relevant to make a whole application faster. Use PyPy if you care about performances. PyPy has a very efficient implementation for dictionary and it's JIT compiler can go way further than CPython. In some cases, PyPy can even replace hash table lookup with array access: https://twitter.com/cfbolz/status/1175493837516627968 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38278> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com