aesophia icon indicating copy to clipboard operation
aesophia copied to clipboard

Add loop operator in fcode

Open radrow opened this issue 2 years ago • 3 comments

Added loop construction in fcode to optimize list comprehensions and sequencing operator (and get rid of implicit imports)

radrow avatar Jul 02 '22 19:07 radrow

Any numbers on how much better this is?

hanssv avatar Jul 08 '22 10:07 hanssv

Good point Hans, recent progress in REPL allowed checking that after my """fix""" it uses 3x more gas... Although I think it's a performance bug in my definition of .., not in the idea of loop itself. Or maybe I messed up the optimizer?

radrow avatar Jul 08 '22 19:07 radrow

Maybe it's because of the tuple?

radrow avatar Jul 09 '22 16:07 radrow