Optimize performance of:
Code/Application: ${{CODE_TO_OPTIMIZE}}
Bottlenecks: ${{KNOWN_BOTTLENECKS}}
Constraints: ${{CONSTRAINTS}}
Optimize:
- Profiling analysis
- Algorithm improvements
- Memory optimization
- Caching strategies
- Parallelization
- C extensions
- JIT compilation (Numba)
- Data structure selectionOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{CODE_TO_OPTIMIZE][{KNOWN_BOTTLENECKS][{CONSTRAINTS]