table.Copy is heavyweight - use table.Add or own merge
š¬ Generalā¢Updated 2 days agoā¢1 views
table.Copy does lots of unnecessary work - for shallow merges use table.Add(nil, src) or write your own; also each lua table index is slightly slower so cache lā¦
Is writing my own shallow merge better than table.Copy
table.Copy does lots of unnecessary work - for shallow merges use table.Add(nil, src) or write your own; also each lua table index is slightly slower so cache lookups.