Re: High volume scripting question
So, did you solve this?
Also, if you haven't; there's a small chance you're repeatedly loading the lua code and then executing it. If you load lua code from a text representation (string in memory, text file), the lua engine compiles it to bytecode. Sollution: cache the returned bytecode or call lual_loadstring (sp?) only once. I'm not a lua expert, again, but have been looking at lua as something to use in one of my own projects, when I get around to it.
|