RimWorld
35 voti
SemiRandomResearch Lag Hotfix
   
Premio
Aggiungi ai preferiti
Preferito
Rimuovi dai preferiti
Mod, 1.5
Dimensioni del file
Pubblicato in data
245.995 KB
3 giu 2024, ore 1:48
1 nota di rilascio ( visualizza )

Sottoscrivi per scaricare
SemiRandomResearch Lag Hotfix

Descrizione
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!
15 commenti
Spode_Mode 7 lug, ore 19:07 
magic
Arthur GC 8 giu, ore 12:26 
25 colonists with 800 mods with 900 tps?????????? How? What's your configuration?
David 21 mag, ore 6:45 
give us your magic performance enhancers wizard
David 21 mag, ore 6:41 
25 colonists with 800 mods with 900 tps at 4 speed? are you using a 30th generation intel chip from the future?? share your secrets
FerrisCG  [autore] 27 gen, ore 2:18 
Semi un-needed now
strkrjns 26 gen, ore 12:22 
Still helpful?
XXXII 11 dic 2024, ore 1:29 
excellent
Jake Armitage 15 giu 2024, ore 13:02 
@Ferris Would it be possible to turn the Hediff patch into a mod or is that not feasable?
GrobmotoriGER 11 giu 2024, ore 13:02 
Heads up: I updated SemiRandomResearch to hopefully improve the autoResearch performance.
I was not able to reproduce any performance impact of autoResearch previously so I cant be sure my changes work.
If you used autoResearch and had a performance impact please let me know at my SemiRandomResearch page how it is with the update.
Khabraxis 9 giu 2024, ore 5:13 
I love random research and ive lost several playthroughs from horrendous uncontrollable lag. pretty sure this would fix it so thank you for making this.