Pregunta de entrevista de Pocket Gems

How would you potentially c++ optimize code?