Everytime I restart my endless runner gamer (either thru menu item or death) the performance takes a major hit. I assume this is due to some memory mishandling of sometime. So a few questions:
If I have a table that I set to nil, are all its children automatically garbage collected? Or must I iterate thru the table and then set it to nil? Or can I just set the table to new value e.g
table={}
table[1]=“asdasd”
table={}
Also what happens I reintialize a display object without removing or nilling it? As in:
car=display.newImage(–blah–)
car=display.newImage(–blah2–)
Will this cause problems?