[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: proposal for reading individual characters from strings faster
- From: Coroutines <coroutines@...>
- Date: Sat, 3 May 2014 12:29:10 -0700
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 :-)