Regarding cost, for a large project if you spend very much time optimizing, in that time you (or client) maybe have spent enough on paying developers that you could've bought really fast hardware instead. Also, "near the end of a project" might not be a well-defined time if maintenance is considered. Optimization could make future maintenance harder and cost time down the road.

In reply to Re: Premature optimization by kwoff
in thread Premature optimization by Ovid

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":