Programming for speed is not what most coders think of. What they tend to consider first, and usually only, is getting it working.

Read More:
Website Speed Part 4 : PHP Programming for Speed