[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Performance hit of accessing the Lua stack
- From: Rici Lake <lua@...>
- Date: Sat, 26 Mar 2005 19:10:28 -0500
On 26-Mar-05, at 5:43 PM, David Anderson wrote:
So, what sort of speed impact should I expect when calling
lua_getstack and lua_getinfo?
Depends on what information you're requesting, I guess. The slowest
thing is trying to find a "reasonable short name" for a function;
getting the filename and current line number is pretty fast. But how
much does speed matter in a debugging function?