lua-users home
lua-l archive

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


Am 24.03.2010 00:54, schrieb David Manura:
Note that even mutable mutable can be used in dead-code elimination.
In the code "local x = false; if x then print(1) end; x = 3", the
conditional block can be eliminated even though you cannot declare x
as "final".
Yes, in that simple case. But for

local x=false
 1001
  :
  lines
   :
   of
    :
    code
if x then print(1) end;

final would make life much easier. (Our am i wrong?)