ModOrganizer2 / modorganizer

Mod manager for various PC games. Discord Server: https://discord.gg/ewUVAqyrQX if you would like to be more involved
http://www.nexusmods.com/skyrimspecialedition/mods/6194
GNU General Public License v3.0
2.06k stars 155 forks source link

PluginList::refresh speedup #2046

Closed Liderate closed 2 weeks ago

Liderate commented 2 weeks ago

This change should decrease the time it takes to refresh the plugin list, particularly for Fallout 4 and Starfield instances where the loadOrderMechanism call is costly.

I tested by enabling/disabling an empty mod in a Fallout 4 instance containing about 2000 dummy ESMs and ESPs. The loadOrderMechanism change saw the average time decrease from 2900ms to 710ms. The other changes further reduced that to 210ms.