Does anyone know how much server overhead there is when PHP if statements are evaluated, i.e. memory consumption and CPU usage and if this is a major issue? I've searched around and didn't find anything that definitively answered this question.
For example, if I have a WordPress blog and use a lot of if statements to render each post summary on the home page, is this going to require a great deal more server resources if the home page starts getting high traffic? And, on pages where many posts are listed (i.e. category pages) , it seems like this could become an issue.
Or, is this something I shouldn't even be worrying about?

LinkBack URL
About LinkBacks





Reply With Quote
will take longer to evaluate.
Bookmarks