]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ring: simplify the write loop a little bit
authorWilly Tarreau <w@1wt.eu>
Sun, 17 Mar 2024 11:09:30 +0000 (12:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Mar 2024 17:34:19 +0000 (17:34 +0000)
commit4b984c5baafbbeb0570ca7046be0143cb2c844fc
tree747f613ce49222be0d24d0d25bb4d0cb89dc06ba
parent573bbbe127608d36e4050fcb19069dc64ba4b2fb
MINOR: ring: simplify the write loop a little bit

This is mostly a cleanup in that it turns the two-level loop into a
single one, but it also simplifies the code a little bit and brings
some performance savings again, which are mostly noticeable on ARM,
but don't change anything for x86.
src/ring.c