]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: dict: Store the length of the dictionary entries.
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 7 Jun 2019 08:58:20 +0000 (10:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 7 Jun 2019 13:47:54 +0000 (15:47 +0200)
commit99de1d0479c35229acf01feeabfe4e7c8c3dd7da
tree234df0582835d845663fc8d04b345519cb1f9eac
parentfdfa9e39ed3dd56013139f3b3d7a8bd8a7d74f70
MINOR: dict: Store the length of the dictionary entries.

When allocating new dictionary entries we store the length of the strings.
May be useful so that not to have to call strlen() too much often at runing
time.
include/types/dict.h
src/dict.c