79799661

Date: 2025-10-25 18:05:12
Score: 0.5
Natty:
Report link

There are a lot of working solutions here, but here is the fastest one in terms of performance:

function table.append(t1, t2)
  local n = #t1
  for i = 1, #t2 do
    t1[n + i] = t2[i]
  end
  return t1
end

Concatenates in place Table t2 at the end of Table t1.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: 2dengine