Pregunta de entrevista de Redline Trading

How would you optimize a C program using Cache? What about Register?