[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: efficiently escaping from a lua function is not possible
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 31 Jul 2001 09:55:24 -0300
> Does anyone have a suggestion for how to escape efficiently from a
> running lua function ?
One option is to remove the assignment
const lua_Hook linehook = L->linehook;
from the interpreter, and use 'L->linehook' instead of linehook. (Probably
you will pay a small performance price.)
-- Roberto