Skip to content

Fix slowdown when locking a lot#2965

Merged
Dunbaratu merged 3 commits intoKSP-KOS:developfrom
thexa4:bugfix/loop-slowdown
Jul 13, 2021
Merged

Fix slowdown when locking a lot#2965
Dunbaratu merged 3 commits intoKSP-KOS:developfrom
thexa4:bugfix/loop-slowdown

Conversation

@thexa4
Copy link
Contributor

@thexa4 thexa4 commented Jun 13, 2021

Fixes #2964

Flips iteration direction as it's more likely that newer items match. Cleans up the pop list when it detects garbage collected items to keep it small.

@Dunbaratu Dunbaratu merged commit d5dfc71 into KSP-KOS:develop Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Locks become slower over time

2 participants