lua-users home
lua-l archive

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


It should be quite similar. Multiple calls to lua_dofile
do not create multiple lua_states. They just add the
scripts to the 'global nametable' of the lua state.

> -----Ursprüngliche Nachricht-----
> Von: lua-l@tecgraf.puc-rio.br [mailto:lua-l@tecgraf.puc-rio.br]Im
> Auftrag von Christophe Gimenez
> Gesendet: Montag, 20. März 2000 12:16
> An: Multiple recipients of list
> Betreff: LUA Memory requirement
>
>
>
> What is the difference in memory requirement by :
>
> - A single script (10000 lines)
> - The same amount of code used by 100 scripts of 100 lines
>
> Thus, how much memory a "LUA state" consumes (don't take in
> account the memory used by the vars of the script) ?
>
> Thanks