replace table.insert with faster "array assign"

In LuaJIT, the stoptimer()'s performance improves about 25%