|
On Jun 13, 2014, at 4:12 PM, Thiago L. <fakedme@gmail.com> wrote:
No, the OP pointed out that the overhead of doing the metamethod test in table.unpack() is low, since it can be done once at the start of unpack(), which then chooses a (fast) rawgeti() based loop or a (generic) index metamethod loop. So you get the best of both worlds in one API. —Tim |