lua-users home
lua-l archive

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


> I do not see the point of this "make things collectable ASAP",
> "agressively reuse everything", [...]

Agressively reusing registers in a CPU is one of the most important
optimizations in a compiler. The fact that an object becomes
unreacheable when the register is used for another reference is only a
side effect. The same is true for other optimizations (e.g., dead-code
elimination). They are not trying to make things collectable ASAP, that
is only a side effect.

-- Roberto