News for hackers. Stuff that matters.
Re:Backdooring JavaScript using minifier bugs by StavrosK on Monday August 24, 2015 @12:38PM (#10111065)
Wait, what if you have really really long comments? Or do they get stripped out beforehand?
Re:Backdooring JavaScript using minifier bugs by phpnode on Monday August 24, 2015 @01:22PM (#10111456)
Comments affect this heuristic, so yeah, commented code can be slower.
Re:Backdooring JavaScript using minifier bugs by wolf550e on Monday August 31, 2015 @09:58AM (#10146806)
This slide deck has a nice example of using a comment to fix a performance bug in a js implementation of the chacha20 cipher: http://mrale.ph/talks/goto2015/#/14
Re:Backdooring JavaScript using minifier bugs by hiou on Monday August 24, 2015 @02:09PM (#10111835)
Some libraries use annotations in comments. Therefore they cannot be stripped. Off the top of my head I know of some JavaScript testing libraries that do this.