(1.3) Fix the fps drop when you select a bed or workbench.
(1.3 Experimental) Fix the fps drop when you open the Needs Tab of a pawn.
(1.4-1.5) Optimize Thoughts listing in the Needs Tab of a pawn.
Details:
[list]
[*] In 1.4, the devs fixed the bug for beds and workbenchs. All my fix is no longer needed and removed in 1.4.
[*] In 1.5, the devs optimized part of the Needs Tab (when the game is paused). But the thoughts listing is untouched and still inefficient.
[/list]
Dumb numbers from my profiling:
Combo
Needs
Thoughts
Overall overhead per update
Vanilla
0.828
0.747
1.578
Vanilla+This
0.790
0.408
1.202
Vanilla+PO
0.313
0.724
1.041
Vanilla+PO+This
0.307
0.435
0.745
All tested with same pawn with 15-ish thoughts. Numbers are in ms. PO means Performance Optimizer, which caches those Needs. Roughly, it's 30% faster.
Compatibilities:
[list]
[*] This mod is purely UI optimization. It does nothing when you don't open the Needs Tab.
[*] Can be safely removed from or added to a save.
[/list]