lua-users home
lua-l archive

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

Hello Guys!

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 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?