[issue11273] asyncore creates selec (or poll) on every iteration

2014-06-27 Thread STINNER Victor
STINNER Victor added the comment: On the other hand, it appears to be quite difficult to integrate such a massive change into asyncore in a fully backward compatible manner. At least, it's not clear to me how to do this without breaking code relying on map's parameter and asyncore.socket_map.

[issue11273] asyncore creates selec (or poll) on every iteration

2012-03-31 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- versions: -Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11273 ___

[issue11273] asyncore creates selec (or poll) on every iteration

2012-03-20 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: I agree it would be great to do this, in fact I'm using a modified version of asyncore supporting register(), unregister() and modify() methods for file descriptors, and the performance benefits are enormous. On the other hand, it

[issue11273] asyncore creates selec (or poll) on every iteration

2011-02-21 Thread Марк Коренберг
New submission from Марк Коренберг socketp...@gmail.com: select.poll() object or r,w,e arrays for select() should not be built from the start in each iteration. For performance issue, such objects should be created in loop() function and modified in add_channel/del_channel. As we do not know,

[issue11273] asyncore creates selec (or poll) on every iteration

2011-02-21 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11273 ___ ___