Is there any difference in performance between doing this
player = {
update = function(self)
-- do things
end
} |
and
player = {}
function player:update()
-- do things
end |
Thank you!
nope, no difference in performance. I'd go with whichever option uses fewer tokens :)
[Please log in to post a comment]




