Think before you optimize