Author giampaolo.rodola
Recipients giampaolo.rodola, gvanrossum, neologix, vstinner, yselivanov
Date 2017-04-07.13:11:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491570704.76.0.86258702722.issue30014@psf.upfronthosting.co.za>
In-reply-to
Content
> My patch calls generic unregister() and register() of the base
> classes, but it only uses one syscall per modify() call.

Doesn't that mean doing 3 operations (unregister(), register(), modify()) instead of the current 2 (unregister(), register())? I don't see how it can be faster than a single modify() syscall.

> Oh by the way, it seems like my patch changes KqueueSelector, 
> but your change doesn't. Am I right?

You are right but it looks like you end up doing the same thing as unregister() and register(). kqueue() has no modify() method so I don't think it can benefit from this change.
History
Date User Action Args
2017-04-07 13:11:44giampaolo.rodolasetrecipients: + giampaolo.rodola, gvanrossum, vstinner, neologix, yselivanov
2017-04-07 13:11:44giampaolo.rodolasetmessageid: <1491570704.76.0.86258702722.issue30014@psf.upfronthosting.co.za>
2017-04-07 13:11:44giampaolo.rodolalinkissue30014 messages
2017-04-07 13:11:44giampaolo.rodolacreate