lua-users home
lua-l archive

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


I said:
     And the Lua compiler could even eliminate "dead code"
Sorry, but the  conditional "could" was present in my sentence !

Le sam. 16 mai 2020 à 10:40, Francisco Olarte <folarte@peoplecall.com> a écrit :
Philippe:

On Fri, May 15, 2020 at 10:03 PM Philippe Verdy <verdyp@gmail.com> wrote:
>> > 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.

Please, read what you reply at, or at least the parts you quote.
English is not my mother tongue, but I can differentiate between "You
said" and "You could say", and I suspect you can too. Had you said
"dead code" CAN be eliminated I would probably have used harsher words
than "slippery slope", but I do not expect such an easy shot from you.

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