Re: Tabs or Spaces?

From: Date: Mon, 22 Nov 2004 02:35:38 +0000
Subject: Re: Tabs or Spaces?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-202634@lists.php.net to get a copy of this message
On Nov 21, 2004, at 5:09 PM, Chris Shiflett wrote:
--- Ryan King <ryansking@mac.com> wrote:
However, when indenting with 3 spaces instead of a single tab, then your code-size WILL increase, and will include 3x more "space content" than it used to :)
Who cares?
Just to point out the obvious, if you're not using a compiler cache, size does matter. Of course, if you're to the point where the difference is important to you, you're to the point where you should figure out how to use APC or something. :-)
I agree. I can't imagine that having more whitespace characters in a script will significantly effect the performance of said script. I would guess that there would always be more significant issues to deal with in regards to performance- php compiling and optimizing SQL queries being chief in my mind. Its silly and inefficient (work-wise) to optimize the small issues in programming. Just remember, "Premature optimization is the root of all evil." (Knuth) -ryan

« previous php.general (#202634) next »