]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTION: map/hlua: make core.set_map() lookup more efficient
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 20 Nov 2024 15:07:44 +0000 (16:07 +0100)
committerAurelien DARRAGON <adarragon@haproxy.com>
Wed, 20 Nov 2024 15:14:13 +0000 (16:14 +0100)
commit2ce0db4e4bb28837562e6915b1feb0ba46484bb1
treec01d9188ffec495a1baa58aca9dd01ad7468db3b
parent311dc748b0611de34124d509b59fad3cee33f0ba
OPTION: map/hlua: make core.set_map() lookup more efficient

0844bed7d3 ("MEDIUM: map/acl: Improve pat_ref_set() efficiency (for
"set-map", "add-acl" action perfs)") improved lookup efficiency for
set-map http action, but the core.set_map() lua method which is built
on the same construct was overlooked. Let's also benefit from this optim
as it easily applies.
src/hlua.c