[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [Lua4] Bytecode vs Source
- From: "Thiago Bastos" <hellraider@...>
- Date: Sun, 03 Aug 2003 19:54:57 -0300
>Nope compiled on the very same machine.
>The game when it starts checks if bytecode exists/is out of date and compile if needed.
Lua scripts compile *very fast*, if you're doing the checks every time the game starts there's a chance it could be slower than always compiling the sources. During the game's development stage I'd suggest you always compile and cache the scripts in memory once at startup.