]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DIET/MINOR: task: reduce struct task size by 8 bytes
authorWilly Tarreau <w@1wt.eu>
Sat, 7 Dec 2013 00:01:39 +0000 (01:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Dec 2013 15:06:22 +0000 (16:06 +0100)
commit05efc0f33a0eaa0762f7781b51d27c9886b8c7a3
tree38761257e316501e5cf6d79d681ee9105474cd7b
parent5735d7e2a23b8a25c5584fe1ec0d025450841b8f
DIET/MINOR: task: reduce struct task size by 8 bytes

Just by reordering the struct task, we could shrink it by 8 bytes from
120 to 112 bytes. A careful reordering allowed each part to be located
closer to the hot parts it's used with, resulting in another performance
increase of about 0.5%.
include/types/task.h