Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes most 'abnormal' lag caused by processing subsystems. #4538

Merged

Conversation

haukeschuemann
Copy link
Contributor

@haukeschuemann haukeschuemann commented Jan 19, 2020

About The Pull Request

Reverts #2271

This has done wonders with removing most serverside lag on my local.
#4537 is still relevant. There absolutely should be fewer processing machines but at least we are now processing in linear time again. We still can't manage to process all machines in a single tick (and we likely never will) but it's faster and doesn't lag anymore.

This conflicts with #4535, but is also safer and higher priority.

I was wrong about this being the reason why SSmachines initializes slow, that has to do with atmos machines.

Details

The old implementation was pretty stupid if you know how lists are implemented.

Copy link
Contributor

@ACCount12 ACCount12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's see how much would it cut the lag on the live server.

@ACCount12 ACCount12 merged commit 21726fb into discordia-space:master Jan 20, 2020
@ACCount12 ACCount12 mentioned this pull request Jan 20, 2020
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.

2 participants