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.
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
___
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
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,
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11273
___
___