I have a game, which requires lots of objects being cloned in and out of the game. I am very conscious of untracked-memory and optimisation techniques and was curious.
I was looking at this post earlier PSA: Don't use Instance.new() with parent argument and was wondering if this has the same effect? Which would be most efficient and possibly load the fastest?
do local Obj = replicatedstorage.Obj:Clone() Obj.Parent = workspace end
replicatedstorage.Obj:Clone().Parent = workspace
In my older games i used clone().parent = x, alot in fear of creating untracked memory due to assigning the cloned object as a variable.