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 resize #51

Open
Rudxain opened this issue Jul 17, 2024 · 0 comments
Open

optimize resize #51

Rudxain opened this issue Jul 17, 2024 · 0 comments
Labels
perf Performance problem

Comments

@Rudxain
Copy link
Owner

Rudxain commented Jul 17, 2024

From #49:

  • detect if the final dimensions are actually different, before doing any work
  • call ctx_fillFull only if the canvas grows AND is white
@Rudxain Rudxain added the perf Performance problem label Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
perf Performance problem
Projects
None yet
Development

No branches or pull requests

1 participant