Shader_Minifier
Shader_Minifier copied to clipboard
Write scientific notation numbers without decimal places if possible
It would be nice if shader-minifier would avoid decimal places in scientific notation numbers, if possible. For example, write 48e3 instead of 4.8e4. This saves one character, the decimal point.
While I don't have large scale corpus to test how this improves after compression, usually less uncompressed chars is always better, on average at least.