FasterPy: An LLM-based Code Execution Efficiency Optimization Framework
Researchers have developed FasterPy, a framework designed to optimize the execution efficiency of Python code using Large Language Models (LLMs). This system integrates Retrieval-Augmented Generation (RAG) with Low-Rank Adaptation (LoRA), leveraging a knowledge base of performance-improving code edits and measurements. Experiments on the Performance Improving Code Edits (PIE) benchmark indicate that FasterPy surpasses existing models in optimizing code execution. AI