According to Dean by pasting his code into your WordPress child themes functions.php, you can gain the performance increase offered by minified code.
And in this case the result was that it worked a treat, your mileage may vary. This was tested by adding Dean’s code into three different child themes. Some themes may need ‘protected $compress_js = false;’ to work as intended but the overall benefit in terms of page size is positive.
Minification is the process of removing unnecessary characters from source code, without changing its functionality. These unnecessary characters usually include white space characters, new line characters and comments, which are used to add readability to the code but are not required for it to execute.
Minified source code is especially useful for interpreted languages deployed and transmitted on the Internet, because it reduces the amount of data that needs to be transferred.