lua-users home
lua-l archive

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

I many different scripts which will be run at various times. I also have many different user types which have to be registered before certain scripts run.

Is it best to create a VM, register the necessary user types and cfunctions, then run a script? It seem redundant to define those user types and cfunctions over and over again...

Would I be better, to only ever have one VM, and run all my scripts through that vm? This seems like a potential hazard with name collision...

Is there way to save on redundancy? Any other suggestions? Performance is the real concern here.