]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[OPTIM] ebtree: inline ebst_lookup_len and ebis_lookup_len
authorWilly Tarreau <w@1wt.eu>
Tue, 4 Jan 2011 13:33:13 +0000 (14:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 4 Jan 2011 13:44:05 +0000 (14:44 +0100)
commite1ee956399267ad94c27efe674eed8c6fa656c51
treed49ecbd7ab42f3f9fd861071c000bccc2a8a3b77
parentce3d44a06ab1b552b9add745635c91c26ac7ae4f
[OPTIM] ebtree: inline ebst_lookup_len and ebis_lookup_len

(from ebtree 6.0.5)

Both of them are very short and rely on another non-inlined lookup function,
so it's pointless to have them as pure functions, it wastes space.
(cherry picked from commit 1e68d6fef815f759304d4cc0e65f957689e19a7a)
ebtree/ebistree.c
ebtree/ebistree.h
ebtree/ebsttree.c
ebtree/ebsttree.h