You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.
This mod calls the debug Lua library, which it shouldn't do.
You should exert care when using this library. The functions provided here should be used exclusively for debugging and similar tasks, such as profiling. Please resist the temptation to use them as a usual programming tool: they can be very slow. (…)
My point is that debug is called in PRODUCTION code which is a really bad idea. It's not just about performance. Frankly, I trust the Lua developers here more than you. When they say to not use debug, I will not use debug. ;-)
Anyway, looks like you only use it for introspection. So that could be replaced with hardcoded strings.
Some items in everyday life are intended for a sole and specific purpose, yet we can sometimes divert them from their original usecase for other purposes for which they are not originally intended.
Same with the code.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This mod calls the
debug
Lua library, which it shouldn't do.https://www.lua.org/manual/5.1/manual.html#5.9
The text was updated successfully, but these errors were encountered: