Files
CHOMPStation2/code/ZAS
Leshana fdb5d80afa Multi-ZAS Optimization
A simple optimization to can_safely_remove_from_zone() both with and without multi-zas.
Instead of allocating a new list every time we call get_zone_neighbours() (which gets called several times in a loop) we have a pre-built list we don't need to Copy().
Same story for the list to iterate over in can_safely_remove_from_zone()
There should be no semantic change whatsoever from this; it is purely a performance optimization.
2017-05-04 19:51:55 -04:00
..
2017-05-04 19:51:54 -04:00
2017-05-04 19:51:54 -04:00
2017-05-04 19:51:54 -04:00
2017-05-04 19:51:54 -04:00
2017-05-04 19:51:54 -04:00
2016-03-15 16:39:40 +03:00
2017-05-04 19:51:55 -04:00
2015-12-15 13:32:01 +01:00