Pergunta de entrevista da empresa Automattic

Che cosa faresti se trovassi che il codice legacy non è ottimizzato?