PackSquash icon indicating copy to clipboard operation
PackSquash copied to clipboard

Additional shader minification

Open md5nake opened this issue 3 years ago • 1 comments

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 avatar May 30 '22 06:05 md5nake

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!

AlexTMjugador avatar May 30 '22 08:05 AlexTMjugador