Latest changes (v47 summary)
The main focus of this update was on optimisation. Special thanks to Softles who wrote some work scheduler code that I was able to use to try and spread out some of my function calls to improve performance.
- Fixed the bug from v45 that would cause every game on FAF standard (not FAF develop) to crash when an M27 bomber fired.
- Added in logic for doing a simple profiling of AI performance which can be run by any AI (even if no M27AI is in the game) - for use in place of a normal AI tourney
- Incorporating Softles' workflow scheduler to the majority of M27's loops
- Further optimisation of functions relating to recording the units in a platoon and calculating the threat of enemies
- Reduction in the amount of error messages displayed
- 3 other bugfixes and 3 other misc adjustments
Overall based on my '4v4 UEF Africa for 10m' benchmark, v47 is approximately 8.5% faster than v46.
Acknowledgements:
- Softles for providing work scheduling code
- Savinguptobebrok and Fearghal – highlighting crashes caused by M27 (in every game)
- Relent0r – Highlighting an issue where the ACU can build T1 power when in a vulnerable position (no change was made as it’d be too much effort for a niche scenario – essentially if all our power is destroyed, and we lack intel, then the ACU thinks there are no nearby mobile enemies and tries to build a pgen, but by that stage it will have lost anyway)