haproxy/doc/lua-api
Aurelien DARRAGON e5acb03137 DOC: lua: prefer Patref:{set,add}() over legacy methods for acl and maps
Patref:set() can achieve the same thing as core.set_map()
Patref:add() can achieve the same thing as core.add_acl()
Patref:del() can achieve the same thing as core.del_map() and
core.del_acl()

As a bonus, Patref:{set,add} are more efficient than their core
legacy equivalent, because they don't require systematic pattern
reference lookup for each individual operation.

Let's mention that in the doc to encourage Patref methods adoption.
2024-11-29 07:23:59 +01:00
..
_static MINOR: lua: add function which return true if the channel is full. 2016-11-12 10:42:25 +01:00
conf.py DOC: lua api 2015-03-11 20:41:33 +01:00
index.rst DOC: lua: prefer Patref:{set,add}() over legacy methods for acl and maps 2024-11-29 07:23:59 +01:00
Makefile DOC: lua api 2015-03-11 20:41:33 +01:00