Inada Naoki <songofaca...@gmail.com> added the comment:
As I commented in https://github.com/faster-cpython/ideas/discussions/288, your benchmark is not fair. Include `{}` and `{}.resize(len(cases))` into the measured function. ---------- nosy: +methane _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46813> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com