Skip to content

q5-webgpu: Major Refactoring #119

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

Closed
quinton-ashley opened this issue Apr 16, 2025 · 1 comment
Closed

q5-webgpu: Major Refactoring #119

quinton-ashley opened this issue Apr 16, 2025 · 1 comment

Comments

@quinton-ashley
Copy link
Collaborator

v3 is basically ready to release but I'd like to try doing some major refactoring first in the hopes of getting slightly better performance.

In JavaScript accessing properties on an object is just a bit slower than using local variables, but it does add up.

I'd sacrifice the organizational convenience of having q5-webgpu split into separate files if putting it in one file and using more local variables can improve performance. The total size of the one file would be ~65kb.

@quinton-ashley quinton-ashley moved this to In Progress in q5 Apr 16, 2025
@quinton-ashley
Copy link
Collaborator Author

completed in v2.28.4

@github-project-automation github-project-automation bot moved this from In Progress to Done in q5 Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant