STINNER Victor <vstin...@redhat.com> added the comment:
My PR 13110 (avoid functools) makes codecs.lookup('cp65001').encode() made 2.7x slower: https://github.com/python/cpython/pull/13110#issuecomment-491095964 417 ns +- 17 ns My PR 13230 (remove cp65001.py) makes it 1.5x faster :-) https://github.com/python/cpython/pull/13230#issuecomment-491099012 105 ns +- 3 ns The reference is: 156 ns +- 3 ns. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36778> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com