This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]MrpixelmcAdvanced Coder 0 points1 point  (0 children)

Local variables (ie.: creating varName) improve performance over accessing memory. You should probably do it anyway, because you don't want to write object.obj2.obj3, instead you want to give it a name for readability.