]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTIM: tools: inline hex2i()
authorWilly Tarreau <w@1wt.eu>
Thu, 25 Oct 2012 22:58:22 +0000 (00:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 25 Oct 2012 23:13:24 +0000 (01:13 +0200)
commit3dd0c4e20eea1b3169417484c4ad10bef0990598
treeffa866f68f4686b5e57b56892ef1b7e5c0f371c7
parent24e6d972aa6388455b501074f34ff098592c870b
OPTIM: tools: inline hex2i()

This tiny function was not inlined because initially not much used.
However it's been used un the chunk parser for a while and it became
one of the most CPU-cycle eater there. By inlining it, the chunk parser
speed was increased by 74 %. We're almost 3 times faster than original
with just the last 4 commits.
include/common/standard.h
src/standard.c