I also thought so, it`s the only reasonable explanation of such slowdown (assuming that tables acts like C arrays, in this situation at least)anjo wrote: while inserting something in the middle means shifting everything afterward forward in memory
Thanks for reference ! This document can be handy sometimesanjo wrote: For more information on the internals of Lua, check out this PDF.
--- Double Post ---
In principle you behave right, I`ve also in various experiments try to reject many factorsRobin wrote: Exactly. I just wanted to make sure the science was right.
BTW, before I submited example to forum, I also tried various versions of test (with and without math.random). So maybe because of this your remark resulted in my anger
Now I`m fully relaxed. Lets finish this question once and for all, peaceRobin wrote: You were right, 0x69.