]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: map/acl: Remove the comments about map/acl performance issue
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 24 Aug 2023 14:02:03 +0000 (16:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 Aug 2023 13:41:55 +0000 (15:41 +0200)
These commits have improved the performances of "set-map", "add-acl"
http rule actions:

   MINOR: map/acl: Improve pat_ref_set_elt() efficiency (for "set-map", "add-acl" actions perfs)
   MINOR: map/acl: Improve pat_ref_set() efficiency (for "set-map", "add-acl" action perfs)

doc/configuration.txt

index cde951a1f61b45ba6891fbb67dce4e253af5c57c..73204b084c1fc2b643cfbf8cc7b9e0f9f2b73f51 100644 (file)
@@ -7015,8 +7015,7 @@ http-request add-acl(<file-name>) <key fmt> [ { if | unless } <condition> ]
   file (even a dummy empty file). The file name of the ACL to be updated is
   passed between parentheses. It takes one argument: <key fmt>, which follows
   log-format rules, to collect content of the new entry. It performs a lookup
-  in the ACL before insertion, to avoid duplicated (or more) values. This
-  lookup is done by a linear search and can be expensive with large lists!
+  in the ACL before insertion, to avoid duplicated (or more) values.
   It is the equivalent of the "add acl" command from the stats socket, but can
   be triggered by an HTTP request.
 
@@ -7733,8 +7732,7 @@ http-request set-map(<file-name>) <key fmt> <value fmt>
   log-format rules, used to collect MAP key, and <value fmt>, which follows
   log-format rules, used to collect content for the new entry.
   It performs a lookup in the MAP before insertion, to avoid duplicated (or
-  more) values. This lookup is done by a linear search and can be expensive
-  with large lists! It is the equivalent of the "set map" command from the
+  more) values. It is the equivalent of the "set map" command from the
   stats socket, but can be triggered by an HTTP request.
 
 http-request set-mark <mark> [ { if | unless } <condition> ]