> I actually benchmarked that once. I had a reasonably large PHP file that was, > in fact, over 50% docblocks. That's not even counting inline comments. While > trying to find things to optimize, removing about 800 lines worth of comments > (all of the docblocks) did, in fact, produce a noticeable performance > difference. It was only barely noticeable, but it just barely registered as > more than random sampling jitter. I actually concluded that if cutting the > file *in half* was only just barely noticeable, then it really wasn't worth > the > effort.
Yeah but what happens if you run the script through the tokenizer and strip ALL comments, unnecessary whitespace, newline characters, etc. out? > Larry Garfield > la...@garfieldtech.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php