[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: execution time
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 21 May 2003 11:09:38 -0300
Roger D. Vargas wrote:
>What is executed faster, a precompiled script or a not precompiled one?
>From the luac man page:
The main advantages of precompiling chunks are: faster loading,
protecting source code from user changes, and off-line syntax checking.
Pre-compiling does not imply faster execution because in Lua chunks
are always compiled into bytecodes before being executed. luac simply
allows those bytecodes to be saved in a file for later execution.
--lhf