filmov
tv
Python Advanced Tutorial - How to write faster python code?
Показать описание
In this video we compared same python code.
We analyzed witch python code was faster:
- Python package, module usage(import, from)
- While, for loop
- Python function (def) and "simply" code
- Python list append: "simply" and compact format
- In python class: global and local variable
Python version 2.7
We analyzed witch python code was faster:
- Python package, module usage(import, from)
- While, for loop
- Python function (def) and "simply" code
- Python list append: "simply" and compact format
- In python class: global and local variable
Python version 2.7