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
nope, no difference in performance. I'd go with whichever option uses fewer tokens :)
P#82806 2020-10-11 20:40 ( Edited 2020-10-11 20:40)
[Please log in to post a comment]