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

Additional shader minification #119

Open
md5nake opened this issue May 30, 2022 · 1 comment
Open

Additional shader minification #119

md5nake opened this issue May 30, 2022 · 1 comment
Labels
enhancement New feature or request
Projects

Comments

@md5nake
Copy link

md5nake commented May 30, 2022

Related problem

There is no related problem.

Proposed solution

I suggest user-defined variable and function names are shortened as much as possible (e.g one character, growing as necessary).
This feature would both decrease readability and bundle size.

Alternative solutions

Not applicable.

Additional context

No response

@md5nake md5nake added the enhancement New feature or request label May 30, 2022
@AlexTMjugador
Copy link
Member

AlexTMjugador commented May 30, 2022

Doing this properly requires paying a lot of attention to the obvious and not-so-obvious usages of those identifiers, including macros, so it's not that easy. However, it's a good idea, and it could be tackled at some point. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Roadmap
Accepted ideas
Development

No branches or pull requests

2 participants