[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua Performance questions
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 19 Sep 2009 12:52:37 -0300
> 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