[issue26233] select.epoll.poll() should avoid calling malloc() each time

Yury Selivanov report at bugs.python.org
Tue Feb 2 13:51:32 EST 2016


Yury Selivanov added the comment:

> Aside of the performance, my colleague also told me that heavy pressure on the memory allocator can slowly create framgmentation of the heap memory, which is true.

Right, but there are so many other things which contribute to the memory fragmentation.. I doubt that optimizing epoll will make any detectable improvement on that side.

All in all, I think I'm with Serhiy -- since the performance benefits are unclear, we shouldn't complicate the code.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26233>
_______________________________________


More information about the Python-bugs-list mailing list