commit | aa39860aeffbe4a6fe621bbdc5bfd1b12e16468b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Nov 10 11:19:54 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Nov 10 11:19:54 2017 +0100 |
tree | dc4677b879607f9caf02742d60a86f4782b8d50e | |
parent | b15e3fefc96b772e5da54631a83a11c32b7e0111 [diff] |
MINOR: tools: don't use unlikely() in hex2i() This small inline function causes some pain to the compiler when used inside other functions due to its use of the unlikely() hint for non-digits. It causes the letters to be processed far away in the calling function and makes the code less efficient. Removing these unlikely() hints has increased the chunk size parsing by around 5%.