lua-users home
lua-l archive

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

>From Wed Jul 21 02:13:56 1999
>From: Dave Bollinger <>

>However, I made x a static array, so that might
>invalidate the test if Lua's creation of that table is a significant
>portion of the results - maybe I should've malloc'd.

Creating a table is not that expensive in Lua.
The use of local variables instead of global variables can make a difference.