SemiRandomResearch Lag Hotfix
Why a Hotfix?
The current fork of SemiRandomResearch has significant performance issues with automatically selecting research projects. By default, it tries to scan all research projects for each research type (Anomaly Advanced, Anomaly Basic, and Base Game) every single tick, even if a project is already in progress for that type.
Solution
The update adds options to prevent scanning research types if a project is already selected. Additionally, I've introduced an option to perform these checks every X ticks instead of every single tick. This reduces unnecessary checks and enhances performance.
Impact
With these changes, in a setup with 25 pawns and an 800-mod pack, my TPS increased from 200-300 before the patch to a consistent 900 (the speed4 limit) with no drops. It now works flawlessly!