You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be beneficial if NUglify could support char[] as both input and output for the CSS/JS minification process. This would help minimize memory allocations and optimize performance.
The char[] can be rent from a pool.
Input: Allow char[] array as input for the Uglify.Css method.
Output: Return the minified result as a char[] array, ensuring minimal memory allocation.
Example Usage:
char[]` cssInput = ... // CSS input as a char array`
UglifyResult result = Uglify.Css(cssInput);
char[] minifiedCssOutput = result.MinifiedContentAsCharArray;
Benefits: Reduced Memory Allocation: Avoids extra allocations from converting between char[] and string.
Performance Improvement: Enhances performance, especially for large CSS files.
Thank you
The text was updated successfully, but these errors were encountered:
It would be beneficial if NUglify could support char[] as both input and output for the CSS/JS minification process. This would help minimize memory allocations and optimize performance.
The char[] can be rent from a pool.
Input: Allow char[] array as input for the Uglify.Css method.
Output: Return the minified result as a char[] array, ensuring minimal memory allocation.
Example Usage:
Benefits: Reduced Memory Allocation: Avoids extra allocations from converting between char[] and string.
Performance Improvement: Enhances performance, especially for large CSS files.
Thank you
The text was updated successfully, but these errors were encountered: