Domanda di colloquio di Accenture

Explain how you would optimize an ISR (Interrupt Service Routine) in an embedded system. What considerations would you take into account to ensure the system remains responsive and efficient?