Message172377
| Author |
serhiy.storchaka |
| Recipients |
giampaolo.rodola, josiah.carlson, josiahcarlson, rhettinger, serhiy.storchaka, stutzbach |
| Date |
2012年10月08日.12:08:28 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1349698109.13.0.196254933409.issue13451@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
In principle this is the right approach. But the time of enter() is increased by 20%. Here is updated and slightly optimized patch that restores enter() performance (but a little slow down cancel()). Because enter() is executed for each event and cancel() is not, and enter's gain greater cancel's loss, I think it is a very profitable exchange. |
|