wgrand08 / tether

Automatically exported from code.google.com/p/tether
0 stars 0 forks source link

Unit ID's are not recycled #278

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the ID number of a unit is raised incrementally forcing the system to 
keep track of every single placed unit forever. This includes each individual 
piece of a tether which can quickly become a large amount of data. As old units 
are destroyed they are still stored in memory as a destroyed unit which is very 
inefficient and the greatest cause of crashes in long term games. System needs 
to be rewritten so that craters become permanent part of the map itself while 
all destroyed units become 'voids'. A function needs to be written to check for 
voided units so that those unit numbers can be overwritten being much more 
efficient of memory. 

Original issue reported on code.google.com by Donkyhotae on 30 Sep 2012 at 7:05

GoogleCodeExporter commented 9 years ago
Clearing all tickets relating to MoonPy

Original comment by Donkyhotae on 6 Jun 2014 at 3:29