commit | ab322d4fd45c51fa38b3128d3ef76f1ff4614009 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Jul 20 16:07:42 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 20 19:21:43 2018 +0200 |
tree | 8e2079fa61c3b5c7f42b340d4b8e8287ba7774bc | |
parent | f495fc460efe853d5fa9812c95e5a4601c2341ca [diff] |
MINOR: buffers: simplify b_contig_space() This function is used a lot in block copies and is needlessly complicated since it still uses pointer arithmetic. Let's fall back to regular offsets and simplify it. This removed around 23 bytes from b_putblk() and it removed any conditional jump.