[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [Lua4] Bytecode vs Source
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 1 Aug 2003 21:18:00 -0300
>I've built luac into my game engine so that when it detects that a
>lua file has been changed it recompiles it to bytecode and saves it.
>Before that it was just laoding the lua source each time it was run.
>Now when everything is bytecompiled and I run the game it actually
>loads slower! Which kinda defeats the point of bytecode IMO.
Loading the scripts should be faster. Have you measure just that?
Perhaps the extra time is being spen checking whether the file has been
If not, could you please send me a sample script?