]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTIM: http: improve branching in chunk size parser
authorWilly Tarreau <w@1wt.eu>
Mon, 1 Apr 2013 23:26:55 +0000 (01:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 2 Apr 2013 00:00:57 +0000 (02:00 +0200)
commit0161d62d23d227dd6bd50914bae3103f098fd7ea
tree674ccbb30f9be61b3fda132d7da268a8cb065dd0
parentbf43927cd70bd39b8bd57de5b61a3a273ada0f5e
OPTIM: http: improve branching in chunk size parser

By tweaking a bit some conditions in http_parse_chunk_size(), we could
improve the overall performance in the worst case by 15%.
include/common/standard.h
src/proto_http.c