]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: peers: Optimization for dictionary cache lookup.
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 7 Jun 2019 12:25:25 +0000 (14:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 7 Jun 2019 13:47:54 +0000 (15:47 +0200)
commitb65717fa55fe01e9972e7c809c775d948922a03c
tree151c10963c3e38e631e7de97b3c433a5e97557ac
parentfd827937edbeaa3bea3c17bf6a9c25b5fbbe73f1
MINOR: peers: Optimization for dictionary cache lookup.

When we look up an dictionary entry in the cache used upon transmission
we store the last result in ->prev_lookup of struct dcache_tx so that
to compare it with the subsequent entries to look up and save performances.
include/types/peers.h
src/peers.c