chore(ai): add comprehensive CLI configurations for all AI assistants
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
20
.qwen/prompts/algorithm-optimization.md
Normal file
20
.qwen/prompts/algorithm-optimization.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Mathematical Algorithm Optimization
|
||||
|
||||
Optimize the following mathematical algorithm for performance while maintaining precision: $ARGUMENTS
|
||||
|
||||
## Optimization Focus:
|
||||
1. Reduce memory allocations in hot paths
|
||||
2. Minimize computational overhead
|
||||
3. Improve cache efficiency
|
||||
4. Leverage concurrency where appropriate
|
||||
|
||||
## Profiling Approach:
|
||||
- Use `go tool pprof` to identify bottlenecks
|
||||
- Create benchmarks to measure improvements
|
||||
- Validate precision is maintained after optimization
|
||||
- Test with realistic data sets
|
||||
|
||||
## Constraints:
|
||||
- Do not compromise mathematical precision
|
||||
- Maintain code readability and maintainability
|
||||
- Follow Go best practices for concurrency and error handling
|
||||
Reference in New Issue
Block a user