cURL / Mailing Lists / curl-library / Single Mail


[PATCH] multi: make curl_multi_info_read perform O(1)

From: Daniel Stenberg <>
Date: Mon, 9 Aug 2010 00:10:13 +0200 (CEST)


All users of the multi interface should be interested in this patch. It is my
stab at making curl_multi_info_read perform MUCH better than before, which
very well might mean a noticable performance boost for some applications using
very many simultaneous handles.

I've tested it casually myself and it seems to work fine here. I'll appreciate
some further feedback. (See attachment)

As this is not a pure bugfix, I'm probably not going to apply this before the
upcoming release but will save it for afterwards.

I have another decent idea for improving the multi interface's timeout
handling that I intend to work on next...


List admin:

Received on 2010-08-09