This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients serhiy.storchaka, vstinner, yselivanov
Date 2016-01-28.15:11:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453993905.97.0.27003618713.issue26233@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-01-28 15:11:46vstinnersetrecipients: + vstinner, serhiy.storchaka, yselivanov
2016-01-28 15:11:45vstinnersetmessageid: <1453993905.97.0.27003618713.issue26233@psf.upfronthosting.co.za>
2016-01-28 15:11:45vstinnerlinkissue26233 messages
2016-01-28 15:11:45vstinnercreate