mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-15 07:54:33 +00:00
f82eb02830
struct eb_node is 36 bytes on a 64-bit machine. It's thus rounded up to 40 bytes, and when forming a struct eb32_node, another 4 bytes are added, rounded up to 48 bytes. We waste 8 bytes of space on 48 bytes because of alignments. It's basically the same with memory blocks and immediate strings. By packing the structure, eb32_node is down to 40 bytes. This saves 16 bytes per struct task and 20 bytes per struct stksess, used to store each stick-table key. |
||
---|---|---|
.. | ||
compiler.h | ||
eb32tree.c | ||
eb32tree.h | ||
eb64tree.c | ||
eb64tree.h | ||
ebimtree.c | ||
ebimtree.h | ||
ebistree.c | ||
ebistree.h | ||
ebmbtree.c | ||
ebmbtree.h | ||
ebpttree.c | ||
ebpttree.h | ||
ebsttree.c | ||
ebsttree.h | ||
ebtree.c | ||
ebtree.h | ||
LICENSE |