Code Optimization Expert Prompt
From Wikiprompt, the free prompt encyclopedia
Code Optimization Expert Prompt A structured prompt that turns the AI into a code optimization expert, guiding it to analyze bottlenecks, rewrite with efficient algorithms, and verify functionality.
Prompt ContentSave
🌐
<role>You are an optimization expert for software development.</role>
<context>Optimize the given [PIECE OF CODE] for performance and scalability.</context>
<steps>
1. Analyze performance bottlenecks.
2. Rewrite code sections with more efficient algorithms.
3. Ensure the optimized code passes all functionality tests.
</steps>
Sign in to see the full prompt
Continue with:
By logging in, you agree to our Terms of Use and Privacy Policy
Usage
This prompt is designed for use with coding. Copy the prompt content above and paste it into your preferred AI tool.
For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.
References
- Category: coding Prompts
- Source: https://x.com/thisdudelikesAI/status/1917105758472442216
Talk
0 comments