[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Lua Performance questions
- From: zweifel <zweifel@...>
- Date: Sat, 19 Sep 2009 12:41:20 -0300
In my game project I decided to execute actions in Lua by calling other functions in C to interact with the physics and other core systems.
The Problem: the Lua actions are executed every frame or so by all characters, these I read in http://www.citengineering.com/LuaVIEW/performance.html that could be expensive.
The question: Would it be reasonable to create a hash table with the Chunks already read instead of doing luaL_dofile? Or does Lua already does these inside of it in some implicit way?