Re: Tabs or Spaces?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 21, 2004, at 5:09 PM, Chris Shiflett wrote:

--- Ryan King <ryansking@xxxxxxx> 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

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux