mithin.in — We should generally not bother optimizing our code until we know where to optimize. We should first know where the processor is spending most if its time and then figure out how to optimize the code rather than guessing where to apply it. The flip side of optimization is that it makes the code less readable and we all know that developer’s time is