v71 Update
Small optimisation update which rewrites M28's approach for managing certain tables of units (where the unit dies) which can result in a significant improvement in late-game scenarios. Also made sure that M28 logic doesn't run if there are no M28AI in the game (so it can be more accurately used for profiling other mods).
Acknowledgements
- zhanghm18 - Replay where M28 would slowdown significantly/stop for a second in a late game type scenario, which made me realise tables weren't getting 'compacted' after having entries removed (something that has presumably been present since v1 of M28)
- Hdt80bro - Noting table.setn as an alternative to removing entries from tables (in the end I didn't go with this as it appeared to take slightly longer than the approach I used when testing, but is still useful to know)