Serhiy Storchaka added the comment: This is because instantiating new Arena is much slower in Python 3.
./python -m timeit -r1 -s 'from multiprocessing.heap import Arena' 'Arena(2**26)' Python 3.7: 1 loop, best of 1: 1.18 sec per loop Python 2.7: 100000 loops, best of 1: 9.19 usec per loop May be the regression was introduced by issue8713. ---------- nosy: +davin, sbt, serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30919> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com