Repository navigation
Movegoods fix - #1655
Open
ab9rf wants to merge 4 commits into
Open
Movegoods fix#1655ab9rf wants to merge 4 commits into
ab9rf wants to merge 4 commits into
Conversation
rewrite the UI and backend processing for `movegoods` to avoid repeatedly retraversing the item list while (un)marking items for trade also use a coroutine to ensure the frame pump continues to run when (un)marking a large number of items fixes DFHack/dfhack#6050
item scan in the test fort i am using was taking ~6s. these changes trim it to about ~2s which is a significant improvement will look into why dfhack.item.* methods are so slow to invoke (~95-100 microseconds per call) - there might be a core issue here that can be mitigated but that'll be done separately
mark preservation was not working correctly in conjunction with item grouping, caused a CI test failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rewrite the UI and backend processing for
movegoodsto avoid repeatedly retraversing the item list while (un)marking items for tradealso use a coroutine to ensure the frame pump continues to run when (un)marking a large number of items
additional optimizations added to try to reduce the startup time especially in large forts
fixes DFHack/dfhack#6050