View Single Post
Old 02-15-2012, 06:53 PM   #7
camlorn
Member
 
Join Date: Aug 2011
Posts: 144
camlorn is on a distinguished road
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.
camlorn is offline   Reply With Quote