Re: Vote: PEAR::Strip_Comments
| From: | Clay Loveless | Date: | Wed, 28 Apr 2004 20:29:27 +0000 |
| Subject: | Re: Vote: PEAR::Strip_Comments | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12192@lists.php.net to get a copy of this message | ||
On 4/28/04 1:07 PM Pacific Time, Thorsten Suckow-Homberg (ts@siteartwork.de)
wrote:
> Since the PEAR-(Package-)Class-Files get bigger with every comment and
> phpDoc-Code you add to your file, I thought of an automatism that strips
> those comments for the use in a productive environment.
> This would result in a faster access and reducing overhead because of
> loading files which source-code exists to ~60% of comments and
> documentation.
Thorsten,
I'm curious if you've done any benchmarking to see if doing what you propose
would really result in a significant improvement in access and overhead
reduction. My suspicion is that the difference in access and/or overhead
performance of code with comments and code without is negligible,
particularly if you're using a PHP accelerator like Turck MMCache.
If you decide to run benchmarks, please post the tests you ran and their
results.
-Clay
--
Killersoft.com