mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-10 00:57:02 +02:00
This struct used to carry only a sample fetch function. Thanks to lua_pushuserdata(), we don't need to have the Lua engine allocate that struct for us and we can simply push our pointer onto the stack. This makes the code more readable by removing several occurrences of "f->f->". Just like the previous patch, it comes with the nice effect of saving about 1.3% of performance when fetching samples from Lua. |
||
---|---|---|
.. | ||
common | ||
import | ||
proto | ||
types |