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

Optimize the drawing of large amounts of pixels #554

Closed

Conversation

lilizoey
Copy link

#501 complains of lag when drawing a lot of pixels at once, a major reason for this lag seems to be a lot of redundant drawing attempts. Using GDNative here or C# will probably help, but a lot can be gained by just optimizing the algorithms used.

Doing this right though will require me to take some time to understand the entire flow of how pixels are drawn, so I'm making this a draft pull request until i can be more sure that what I've done is correct.

@OverloadedOrama
Copy link
Member

OverloadedOrama commented Mar 3, 2022

Superseded by #657. If you'd like to make more optimizations, feel free to open a new PR.

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