lua-users home
lua-l archive

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


On Sat, May 3, 2014 at 11:27 AM, Tim Hill <drtimhill@gmail.com> wrote:

> One thing to remember is that compile time is not “free”, since in many environments Lua source is compiled JIT. In some of our applications code fragments are compiled, run once, and discarded. This makes compile time easily 50% of the total run time and is only feasible because the Lua compiler is so efficient.

I agree with you, I don't know the scope of what could prevent this --
I just wanted `a` evaluated once at compile time :-)