[Python-Dev] Slides from today's parallel/async Python talk
Antoine Pitrou
solipsis at pitrou.net
Fri Mar 15 08:19:51 CET 2013
On Thu, 14 Mar 2013 16:21:14 -0700
Trent Nelson <trent at snakebite.org> wrote:
>
> Actually, what's really interesting is the new registered IO
> facilities in Windows 8/2012. The Microsoft recommendation for
> achieving the ultimate performance (least amount of jitter, lowest
> latency, highest throughput) is to do something like this:
>
> while (1) {
>
> if (!DequeueCompletionRequests(...)) {
> YieldProcessor();
> continue;
> } else {
> /* Handle requests */
> }
> }
Does Microsoft change their recommendations every couple of years? :)
Regards
Antoine.
More information about the Python-Dev
mailing list