lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Oh, thanks for the explanation.

Em 15 de dez de 2017 10:12 PM, "Dibyendu Majumdar" <mobile@majumdar.org.uk> escreveu:
On 16 December 2017 at 01:05, Italo Maia <italo.maia@gmail.com> wrote:
> What would a lua hook be?
>

Apologies I should have been clearer about this. Before a bytecode is
executed Lua checks if it needs to invoke a hook. This check has some
overhead especially when computed gotos are enabled, as you can
imagine at every jump there is an 'if .. ' check.

Regards
Dibyendu