Anonymous interview question

How do you optimize code for performance?