Stefan Krah added the comment: You could experiment with multiple freelists, one for each ndim. I'm skeptical however that the gain will be substantial. I've tried freelists for _decimal and the gain was in the order of 2% (not worth it).
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19577> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com