Code Refactor Suggestions
Suggest ways to refactor inefficient or clunky code for better performance or clarity, and explain pros and cons.
Prompt
Here's some inefficient or clunky code: [paste code]. Suggest ways to refactor it for better performance or clarity. Also explain the pros and cons of your approach.