lua-users home
lua-l archive

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


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

require dfoes caching but you can do it manually as well. See
	http://stackoverflow.com/questions/1369646/do-file-only-once-in-lua/1371085#1371085