Re: Is it useful to remove comments & spaces from source code?



..oO(howa)

the main point is: around 20-30% of file size are from comments &
white space, we think that when each time include_once is called,
dummy information need to be read by PHP interpreter, seems waste of
cpu time...

The real bottlenecks are somewhere else. The xdebug extension contains a
profiler, which can show you where you're really wasting CPU time. It's
in your code, not the comments.

Micha
.



Relevant Pages

  • Re: Atmel releasing FLASH AVR32 ?
    ... If you read what I wrote then you'd know that on a high end CPU it ... think it is a waste of die area, otherwise all their CPUs would have it... ... With an embedded core where you use tightly coupled high bandwidth memory ... It clearly says 2 threads per core. ...
    (comp.arch.embedded)
  • Re: Atmel releasing FLASH AVR32 ?
    ... If you read what I wrote then you'd know that on a high end CPU it ... think it is a waste of die area, otherwise all their CPUs would have it... ... It is required now as 8 cores on a single chip use so much ...
    (comp.arch.embedded)
  • Re: [opensuse] Address already in use
    ... On Wednesday 07 October 2009 13:35:36 Randall R Schulz wrote: ... I knew that but deliberately wanted to waste other people's time ... typing and CPU and disk power consumption. ...
    (SuSE)
  • Re: The variable bit cpu
    ... > I think I might have just invented the variable bit cpu:) ... You've effectively cut the user's memory in half. ... > costs and to make computers/software even more powerfull and usefull;) ... having to waste a few bits in certain data types is questionable. ...
    (alt.lang.asm)
  • Re: Wifi on Tungsten W
    ... > Keep in mind that the Tungsten W is running OS 4 and only has a 33MHZ CPU. ... > World probably be a waste of money, unless you could get one Heck of a ...
    (comp.sys.palmtops.pilot)