[Python-Dev] SocketServer issues

Antoine Pitrou solipsis at pitrou.net
Wed Mar 14 18:23:07 CET 2012


On Wed, 14 Mar 2012 16:59:47 +0000
Kristján Valur Jónsson <kristjan at ccpgames.com> wrote:
> 
> It just seems odd to me that it was designed to use the "select" api to do timeouts, > where timeouts are already part of the socket protocol and can be implemented more
> efficiently there.

How is it more efficient if it uses the exact same system calls?
And why are you worrying exactly? I don't understand why accept() would
be critical for performance.

Thanks

Antoine.




More information about the Python-Dev mailing list