Whenever you're ready, walk me through how you'd approach this.
How do you approach the trade-offs between performance and code maintainability? Explain how you identify whether optimization is necessary, evaluate alternative implementation approaches, and make a decision that supports reliable delivery. Include how you would validate performance improvements and prevent premature or overly complex optimization.