| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: [PATCHES RFC 2/2] Optional hash table improvements
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 2 May 2007 16:21:35 +0200 (CEST)
On Tue, 1 May 2007, Robert Iakobashvili wrote:
> 1) curl-hash.patch - makes hashing more flexible and optimized
Nice! Two things:
hash_fd() is added as a library-wide symbol. If it should remain so, it should
fd_key_compare seems to be in the same position.
> return ((fd < (int)slots_num) ? fd : fd % (int)slots_num);
Is this complication really necessary? I mean, why not just do it:
return fd % (int)slots_num;
?
> 2) curl-socket-hash-table-size.patch - is a very optional patch
I figure upping that size is okay. Possibly we should consider a way to either
I mean, if someone goes mad and tries 100,000 connections they probably will
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-05-02 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info