gevorderd
Python Prestatie-analyse
Analyseer en optimaliseer Python-code voor snelheid en efficiëntie.
📝 プロンプトの内容
Analyseer de volgende Python-code op basis van computationele complexiteit en efficiëntie. Identificeer specifieke knelpunten (bottlenecks) en pas 'best practices' toe om de code te refactoren. Verklaar stap voor welke optimalisaties je gebruikt (bijv. list comprehensions, caching, algoritmische wijzigingen) en wat de verwachte tijdswinst is.