|
On Oct 13, 2004, at 8:12 AM, Roberto Ierusalimschy wrote:
I thought that Lua did a lookup in the registry for C function names, but it doesn't (maybe it should... Luiz, Roberto?)Sometimes we think the best solution here is to put the whole name lookup outside the core. This is an operation with no problems of performance, and the API offers all functionality needed to searh wherever we want (globals, locals, upvalues, metamethods, etc.) -- Roberto
Count this as another vote do that...The fact that debugging name lookup does not search upvalues is a bit of an annoyance. Referencing function by upvalue is rather common in my code.
-- Tim G..