1. Analyze existing Rust code for potential improvements.
2. Identify areas where best practices are not being followed.
3. Recommend specific changes to address the identified issues.
4. Implement the recommended changes, focusing on borrowing, error handling, and performance.
5. Run linters and tests to ensure code quality and correctness.
6. Benchmark the code to verify performance improvements.
7. Document the changes and rationale behind them.