Message291261
Patch in attachment modifies DefaultSelector.modify() so that it uses the underlying selector's modify() method instead of unregister() and register() resulting in a 2x speedup.
Without patch:
~/svn/cpython {master}$ ./python bench.py
0.006010770797729492
With patch:
~/svn/cpython {master}$ ./python bench.py
0.00330352783203125 |
|
Date |
User |
Action |
Args |
2017-04-07 10:40:07 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola |
2017-04-07 10:40:07 | giampaolo.rodola | set | messageid: <1491561607.45.0.330964035773.issue30014@psf.upfronthosting.co.za> |
2017-04-07 10:40:07 | giampaolo.rodola | link | issue30014 messages |
2017-04-07 10:40:07 | giampaolo.rodola | create | |
|