Browse Source
If there are many short reads to a socket in a row (eg by readline) then releasing and acquiring the GIL each time will give very poor throughput. So first poll the socket to see if it has data, and if it does then don't release the GIL.pull/4486/head
Damien George
6 years ago
1 changed files with 17 additions and 2 deletions
Loading…
Reference in new issue