Minor optimisations to adding hardcoded edges

It only speeds up sorting by about 3% with my 1619 plugin load order,
but I think the logic is simpler despite all the iterators involved.
This commit is contained in:
Oliver Hamlet
2023-01-06 22:20:33 +00:00
parent 232202c17e
commit ef2a34aa23
4 changed files with 95 additions and 43 deletions
+7
View File
@@ -76,6 +76,13 @@ For each plugin:
4. Add edges coming from all the plugin's load after files that are installed
plugins.
Hardcoded edges
---------------
Some games hardcode certain plugins to load in certain positions, and this
section adds edges in the correct order between those plugins, and between those
plugins and the rest of the plugins in the graph.
Group edges
-----------