lua-users home
lua-l archive

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

Yes, our application routinely uses this number or more. The only problem we
have run into is that, if you are using toLua for a very large number of C++
types (> 100), you can have some nasty memory surprises. We had to go so far
as to arrange for our lua_States to have a shared globals area and a shared
registry area.


> -----Original Message-----
> From:
> []On Behalf Of Matt Holmes
> Sent: Friday, November 16, 2001 2:06 PM
> To: Multiple recipients of list
> Subject: Large number of Lua states
> Has anyone written a program that uses a large number of individual Lua
> states? I am curious if there are any large performance or memory
> footprint
> problems that might arise.
> When I say "large number", I mean > 100.
> Thanks,
> Matt