commit | fc76bbc0f54f5d09db1f3d56469478212bf0c7bc | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Nov 08 09:58:22 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 08 12:08:26 2021 +0100 |
tree | f7cbd71e9b2dc208a62c965cfcca1d23ddc60499 | |
parent | fce4e6914435511e1913803241c1384264a7cb4d [diff] |
OPTIM: halog: improve field parser speed for modern compilers Modern compilers were producing producing less efficient code in the field_start() loop, by not emitting two conditional jumps for a single test. However by reordering the test we can merge the optimal case and the default one and get back to good performance so let's simplify the test. This improves the parsing speed by 5%.