]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[OPTIM] halog: minor speedup by using unlikely()
authorWilly Tarreau <w@1wt.eu>
Wed, 5 May 2010 10:20:19 +0000 (12:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 5 May 2010 10:20:19 +0000 (12:20 +0200)
commit2651ac3302c32c3bcd0fd38a8cd500a20ee34c7d
tree853bdab9d587d4cf53ee32e9cdf189135e3c75fe
parent1769a18f6257ee1025774b0540f580271c75c4fa
[OPTIM] halog: minor speedup by using unlikely()

By moving the filter-specific code out of the loop, we can slightly
speed it up (3%).
contrib/halog/halog.c