Commit f0b2c68
committed
Massive Optimisation of Custom Content
AKA: Past us massively overengineered the uninstall custom content handling and it was slow as all hell (affecting start up times too)
Testing with a Sonic '06 Randomiser Suite mod containing 6538 custom files, Version 3.42 would take two minutes to even start up if "Automatically Uninstall Mods" was active. A build with this change takes around 14 seconds to start up instead. As the same check is performed when installing mods with the option enabled, this also optimises the install time when a lot of custom files are present, as it no longer spends forever checking for them to remove first.1 parent db3109c commit f0b2c68
2 files changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
181 | 182 | | |
182 | | - | |
183 | | - | |
184 | 183 | | |
185 | 184 | | |
186 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments