lua-users home
lua-l archive

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


On Mon, 21 Jul 2008 18:02:39 +0530
"Manish Jain" <manish.jain@globallogic.com> wrote:

> Hi,
> 
> I understand that it is not logical to compare performance of Lua(or
> any scripting) language with an application programming
> languages(like C), but I am struggling to improve performance of my
> Lua module. I understand that 'luac' does not help to improve
> performance. Do we have something in same direction to improve lua
> performance? Anything except moving to C will help.

What specific aspects are you having performance troubles with?  Lua is
already among the fastest available scripting languages, but there are
several tips and tricks you can employ to improve the performance of
your code without changing Lua itself.  One common error, for example,
is to assume the performance of globals is good compared to that of
locals.

B.