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!
P#82765 2020-10-10 07:55
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!