]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
lua FFI: avoid frequent usage of lua_pushpointer()
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 7 Aug 2019 07:36:13 +0000 (09:36 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Thu, 28 Nov 2019 12:05:05 +0000 (13:05 +0100)
commit3647106a9c45a115477bd8a1060edcbc687f8da4
treeacb61c6b100ddb7e9c1d6ef552cca534cc5616bf
parent8eab79b5fa2d81dfbe4a72855c7921d52d7df6b2
lua FFI: avoid frequent usage of lua_pushpointer()

The new way of transitioning to layer callbacks - done because of
portability (mainly to aarch64) - is a bit expensive.  This is a simple
way of recovering that cost.  Merge 603a24f regressed speed a bit.
daemon/ffimodule.c
daemon/ffimodule.h
daemon/lua/kres-gen.lua
daemon/lua/kres-gen.sh
daemon/lua/sandbox.lua.in