Message259141
My colleague Fabio M. Di Nitto noticed that the memory allocation on the heap (PyMem_Malloc()) in select.epoll.wait() can have an impact on performance when select.epoll.wait() is a busy applicatin.
He proposed attached patch to allocate memory on the stack for up to FD_SETSIZE-1 events: see attached patch. |
|
Date |
User |
Action |
Args |
2016-01-28 15:11:46 | vstinner | set | recipients:
+ vstinner, serhiy.storchaka, yselivanov |
2016-01-28 15:11:45 | vstinner | set | messageid: <1453993905.97.0.27003618713.issue26233@psf.upfronthosting.co.za> |
2016-01-28 15:11:45 | vstinner | link | issue26233 messages |
2016-01-28 15:11:45 | vstinner | create | |
|