BigEd / atalan

Automatically exported from code.google.com/p/atalan
MIT License
1 stars 0 forks source link

Move common code after if #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
for example optimize this:

if chr = 0
  a = 10
  io.putc = a
else
  a = 20
  io.putc = a

Into:

if chr = 0
  a = 10
else
  a = 20
io.putc = a

Original issue reported on code.google.com by rudla.ku...@gmail.com on 19 Mar 2011 at 7:34

GoogleCodeExporter commented 9 years ago

Original comment by rudla.ku...@gmail.com on 20 Mar 2011 at 12:24