]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: lua: use the function lua_rawset in place of lua_settable
authorThierry FOURNIER <tfournier@arpalert.org>
Fri, 25 Sep 2015 20:13:32 +0000 (22:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 Sep 2015 22:37:35 +0000 (00:37 +0200)
commit84e73c88827e0065b78e84ba09150166dab84c2a
tree5decb78531f303694940fa9ec9d582ee95c0191d
parentd2a3dcc8bd6e37cd8cea781153fdf32fbc0d230a
MEDIUM: lua: use the function lua_rawset in place of lua_settable

The function lua_settable uses the metatable for acessing data,
so in the C part, we want to index value in the real table and
not throught the meta-methods. It's much faster this way.
src/hlua.c