]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[OPTIM] force inlining of large functions with gcc >= 3
authorWilly Tarreau <w@1wt.eu>
Fri, 29 Aug 2008 13:48:49 +0000 (15:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Nov 2008 09:19:08 +0000 (10:19 +0100)
commit75cf17ee30006c08589b46e69966c9e1d9ab4975
tree016af65f163edf1073cd909fc18ff0fb043db470
parent4df8206832c365f7fcf4123b311414d664046e24
[OPTIM] force inlining of large functions with gcc >= 3

GCC 3 and above do not inline large functions, which is a problem
with ebtree where most core functions are inlined.

This simple patch has both reduced code size and increased speed.
It should be back-ported to ebtree.
include/common/config.h
include/common/eb32tree.h
include/common/eb64tree.h
include/common/ebpttree.h
include/common/ebtree.h