It is interesting that today I saw a thread in lua mail list about the comparison between LuaJIT and llvm-lua. It seems that llvm-lua still have its advantages (although not in speed). I remember that I have seen another thread, in whi…
@atilim Besides LuaJIT, there is another candidate to improve the lua performance, llvm-lua. It does AOT (Ahead-of-Time) compiling and supports more platforms/architectures (X86, ARM, PPC) than LuaJIT. AFAIK, rubyMotion use LLVM to compile ruby to m…
Right, start the timer outside the callback could work. What I dont understand is why it does not work inside the callback.
stop and restart a timer itself inside the callback sounds logical for me : )
My code looks like this:
After the timer counts 10 timers with an interval of 1 second, the code stops counting and do some processing jobs
The problem happens when the next timer:start() starts the timer, but the timer runs twice fast…