filmov
tv
Optimizing Code Performance for Python Internals by Yonatan Goldschmidt
Показать описание
The Python interpreter plays a critical role in controlling the performance of your code, using a vast variety of optimizations & fast paths for common code patterns and idioms. This talk will be a fun interactive session presented through code examples that display an assortment of those optimizations and in which (unexpected) ways they can break, worsening the performance of your Python code; we'll follow by inspecting CPython interpreter's inherent behaviour to understand the reason for the breakage. The output and results just might surprise even the most advanced Python coders.