Hello Robert,

Thursday, April 15, 2004, 12:34:09 PM, you wrote:

RC> Sounds like you suffer from no-accelerator-itis. Using one of the PHP
RC> accelerators will make whitespace concerns pointless since they operate

Not everyone can do this though Rob, I certainly cannot employ any
kind of PHP accelerator on some of the sites I work on. Although I
wish I could.

RC> on cached bytecode. At any rate, whitespace and comment parsing is
RC> pretty much negilible... you might shave a millionth of a second off
RC> your page time, but really, is that point for contention? If you're
RC> running Google then it might be, but I doubt that's the case.

There is another benefit - disk seek time. The file WILL be larger in
size and if you're including it, the hard drive will have to seek to
it and suck it all in.

Granted we're probably talking millionth of a second here again, but
even so :)

Using spaces instead of tabs is only useful if you're going to share
or make your code available for public consumption. Under any other
scenario the benefit difference is negligible at best.

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to