Re: Pear Installer to remove comments
| From: | Arnaud Limbourg | Date: | Mon, 08 Sep 2003 18:03:53 +0000 |
| Subject: | Re: Pear Installer to remove comments | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21195@lists.php.net to get a copy of this message | ||
> 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.