lua-users home
lua-l archive

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



-----Message d'origine-----
De:	Luiz Henrique de Figueiredo [SMTP:lhf@tecgraf.puc-rio.br]
Date:	mercredi 15 mars 2000 19:01
A:	Multiple recipients of list
Objet:	Re: 2 Questions : LUA speed and requirements

>- How to determine the amount of memory needed to load a LUA file ? (As the 
>text file is converted to bytecode I think it's not the size of the file)

It should be roughly the size of the file output by luac on this file.
What do you need this for?

Because I tought about using several lua states. This could be used to attach one or more scripts to objects.

But I think it could be useful compared to a plain lua file for message handling but in that case memory usage is important to determine.