lua-users home
lua-l archive

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

On 9/15/05, Mike Pall <> wrote:

> In fact I can only repeat my suggestion: local, local, local!
> Tables are pretty fast now (at least if you use the optimizer).
> But you better make them local variables. Dito for temporary
> variables (local r,g,b = get_rgb(x, y)). And of course for
> locally declared functions, too. Expect another factor of 2x
> if you do this.

Off course.
I had mentioned the possible future speedup for tables because I have
read on one of yours post, about your TODO list, some points regarding

Anyway, I find the increased speed very good! :)

Thanks again,

Online TrID File Identifier