[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua Performance questions
- From: zweifel <zweifel@...>
- Date: Sat, 19 Sep 2009 13:16:14 -0300
hmm, these are a good solution when I just want to run the script once.
But in my case I do want to run the Lua script every frame. I just wanted to know if I should bother with a hash_table and luaL_loadbuffer or just use luaL_dofile because Lua already does some caching of files that was already read before.
God$ g++ -o earth earth.cpp -O3 -lanimals -lplants -lvirus