amulet icon indicating copy to clipboard operation
amulet copied to clipboard

Very big code results in too many locals

Open plt-amy opened this issue 5 years ago • 2 comments

Like ahc, but really, anything big enough will get you above the local limit.

plt-amy avatar May 19 '20 02:05 plt-amy

This is one of those ones I really don't know how to solve in a sensible way. Obviously we should be re-using locals inside functions, but some of this happens at the top level which makes things much harder.

SquidDev avatar May 19 '20 21:05 SquidDev

Count all the locals that happen at top-level, shove them in a locals table instead, or even make them globals after the limit?

plt-amy avatar May 21 '20 13:05 plt-amy