lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



> And the Lua compiler could even eliminate "dead code" trying to assign a value to a variable that is never reused later.

That's a slippery slope. You could say it can eliminate the call to
the creation functions

I did not say that: the calls to creation functions is not "dead code", it is still performed. Only the assignment (storage) of the return value into a local variable can be safely eliminated.

_______________________________________________
lua-l mailing list -- lua-l@lists.lua.org
To unsubscribe send an email to lua-l-leave@lists.lua.org