mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-09 21:02:04 +00:00

The old method is very slightly faster in some circumstances (e.g. for simple filters and when all units have moves/attacks/etc. left), but we are talking fractions of micro seconds. By contrast, depending on the filter used, the new method can save large amounts of evaluation time once some units have move or attacked. (cherry-picked from commit 972ecc2f56c3cc1391db165518324b1a3757431d)