Describe a time you had to optimize a piece of code for performance. What was the bottleneck and how did you resolve it?