[RESOLVED] Remove or Reuse?
Hello All,
I'm going to ask a VERY general question, is it "better" (in terms of resources, speed, memory, garbage collection) to remove objects or reuse them?
It's my understanding that removing all references and "null"-ing an object makes it ELIGIBLE for garbage collection, but generally, without getting all work-around and hackish, there's no way to FORCE the object to get garbage collected.
So, I was wondering would it just be "better" to re-use the object, instead of "deleting" the object when I know I will need another object just like it at some point in the future of the application?