summaryrefslogtreecommitdiff
path: root/src/network.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-12-13 01:37:24 +0100
committerMichael Adam <obnox@samba.org>2014-12-13 01:41:56 +0100
commit800c3a250c410150a4560ddaf6a1853c75a516f8 (patch)
tree3b442920f943c2d886a9ff8fe337e551fa092891 /src/network.c
parent545463c75d7f6ce5830f1ea98b030c935df729bf (diff)
downloadtinyproxy-800c3a250c410150a4560ddaf6a1853c75a516f8.tar.gz
tinyproxy-800c3a250c410150a4560ddaf6a1853c75a516f8.zip
BB#110 Increase number of hash buckets from 32 to 256.
This should make hash processing generally faster. There is a treadeoff between memory footprint and speed of processing. 10 KB instead of 1.2 KB of hash table per process should not be a huge problem even on very limited current systems. Who really needs to stick to 32 buckets could recompile. We could also think about making this configurable at some point. Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'src/network.c')
0 files changed, 0 insertions, 0 deletions