Author: muggenhor
Date: Mon Apr 28 20:42:25 2008
New Revision: 4842

Optimise the management of the 2D node-table `nodeArray`:
 * Implement lazy deletion:
  * Keep a counter, `resetIterationCount`, and only treat nodes that have it's 
`iteration` member set to the same value as valid nodes
  * "Delete" all current nodes from the table by simply incrementing the 
`resetIterationCount` counter
  * Detect upcoming overflows of `resetIterationCount`, fully clear the 
node-table and reset the iterator if an overflow is "pending"

Patch #1059 by Dennis Luxen and myself


Warzone-commits mailing list

Reply via email to