[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Multiple instances or one global?
- From: "Josh Jensen" <joshj@...>
- Date: Wed, 19 Sep 2001 21:01:12 -0700
> This is an idiomatic usage question more than anything else.
> I have a set
> of mission scripts for a game and I'm curious if most people
> use a single
> global Lua state or if they tend to instantiate multiple Lua
> states for
> parsing "one time" items.
>
> I'm leaning towards using multiple instances, but was
> wondering if there
> are downfalls going in that direction.
Approximately 20k a state and setup costs...
Josh