Daniel Kolesa
2014-06-14 14:59:29 UTC
Hello,
I'm implementing a language on top of LuaJIT and I would like to implement
a few things on top of the metatable system as part of the language's
runtime, however there's a problem: debug.getmetatable is not compiled...
that means it'll make things slow. Regular getmetatable is compiled, I
benchmarked things and with getmetatable stuff is fast but with the debug
version it's really slow - I need the debug version as I need it to ignore
__metatable.
Is there any chance these two functions (or at least debug.getmetatable)
will get compiled?
Regards,
Daniel
I'm implementing a language on top of LuaJIT and I would like to implement
a few things on top of the metatable system as part of the language's
runtime, however there's a problem: debug.getmetatable is not compiled...
that means it'll make things slow. Regular getmetatable is compiled, I
benchmarked things and with getmetatable stuff is fast but with the debug
version it's really slow - I need the debug version as I need it to ignore
__metatable.
Is there any chance these two functions (or at least debug.getmetatable)
will get compiled?
Regards,
Daniel