[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua performance
- From: 云风 <cloudwu@...>
- Date: Sat, 17 Mar 2018 14:51:13 +0800
> 在 2017年12月16日,上午9:11,Dibyendu Majumdar <mobile@majumdar.org.uk> 写道:
>
>> 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.
So, maybe we can write two version luaV_execute ? With and without hook?