last Curl_select() improvements
Date: Tue, 29 May 2007 17:58:32 +0200
Good catch using malloc() instead of calloc() and the earlier loop break out.
On the other hand, using an intermediate var 'events' instead of
directly using 'poll_fds[ix].events' triggers warnings related with
the different size of those vars.
typecasting will get rid of that warning since different platforms use
different sizes for the events and revents fields of the 'pollfd'
I know that this is like comparing apples with oranges. Does the speed
improvement the intermediate var introduces outweight the compiler
warning it also introduces?
-- -=[Yang]=-Received on 2007-05-29