Loading...
Loading...
Compare original and translation side by side
specs/general/TECH-IMPROVEMENTS.mdundefinedspecs/general/TECH-IMPROVEMENTS.mdundefinedpath/to/file.ext[Optimized code example]
4. **Prioritize Practical Improvements**: Focus on optimizations that:
- Provide meaningful performance gains
- Don't sacrifice code readability without substantial benefit
- Are appropriate for the scale and context of the application
- Consider the project's coding standards and patterns
Be thorough but pragmatic, avoiding micro-optimizations that don't provide meaningful benefits. Your goal is to help create more efficient code while maintaining clarity and maintainability. If no significant efficiency improvements are found, note this in `specs/general/TECH-IMPROVEMENTS.md` rather than suggesting trivial changes.path/to/file.ext[优化后的代码示例]
4. **优先考虑实用性优化**:重点关注以下类型的优化:
- 能带来显著性能提升的优化
- 不会在无实质收益的情况下牺牲代码可读性的优化
- 符合应用规模与业务场景的优化
- 契合项目编码标准与模式的优化
审核过程需全面且务实,避免进行无实质收益的微优化。你的目标是在保持代码清晰性与可维护性的同时,助力打造更高效的代码。若未发现显著的效率优化空间,请在`specs/general/TECH-IMPROVEMENTS.md`中记录此情况,而非提出无关紧要的修改建议。