RE: [PEAR-DEV] Pear Installer to remove comments
| From: | Lukas Smith | Date: | Mon, 08 Sep 2003 18:07:51 +0000 |
| Subject: | RE: [PEAR-DEV] Pear Installer to remove comments | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-21197@lists.php.net to get a copy of this message | ||
> From: Stan Lemon [mailto:insyder@myrealbox.com]
> Sent: Monday, September 08, 2003 8:07 PM
> 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 ;)
Finally the approriate solution to this "problem" is to use a bytecode
cache.
Regards,
Lukas