Re: Pear Installer to remove comments

From: Date: Mon, 08 Sep 2003 18:07:08 +0000
Subject: Re: Pear Installer to remove comments
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-21196@lists.php.net to get a copy of this message
I agree with Arnaud on this one. I'm not convinced that the times are significant enough. PEAR has a hard enough time getting docs made and getting *good* inline doc block comments, the idea of removing comments seems like a step in the wrong direction, regardless of the purpose. - Stan Arnaud Limbourg wrote:
Is it possible to have per installer to strip comments on install of package (with some optional switch of cource) it sounds like a relativle easy way of redusing some cpu cycles, a log of pear package have 30% > of comments in them. Would'n it make them faster to remove the comments. On a production system source is rarly read. It should be trivial to be done with the tokenizer extension. Just a random thought I had over the week end.
Ilia had done some benchmarking on this, you would need a very large file with a very large amount of comments to begin to notice anything. Plus i often browse the installed code to see what it does, without comments it would be much harder ;) Arnaud.


« previous php.pear.dev (#21196) next »