Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révisionLes deux révisions suivantes |
teaching:progappchim:notions_avancees [2021/01/15 09:00] – [Performances, temps d'exécution, ...] villersd | teaching:progappchim:notions_avancees [2021/02/02 08:56] – villersd |
---|
===== Itérateurs ===== | ===== Itérateurs ===== |
| |
| ==== Itertools, zip,... ==== |
| * [[https://medium.com/techtofreedom/7-levels-of-using-the-zip-function-in-python-a4bd22ee8bcd|7 Levels of Using the Zip Function in Python]] |
===== Générateurs et "yield" ===== | ===== Générateurs et "yield" ===== |
* [[http://fr.openclassrooms.com/informatique/cours/pratiques-avancees-et-meconnues-en-python/les-generateurs-2]] | * [[http://fr.openclassrooms.com/informatique/cours/pratiques-avancees-et-meconnues-en-python/les-generateurs-2]] |
* [[http://stackoverflow.com/questions/36636/what-is-a-closure]] | * [[http://stackoverflow.com/questions/36636/what-is-a-closure]] |
* [[http://programmers.stackexchange.com/questions/40454/what-is-a-closure]] | * [[http://programmers.stackexchange.com/questions/40454/what-is-a-closure]] |
| |
===== Programmation fonctionnelle ===== | ===== Programmation fonctionnelle ===== |
* [[http://www.pysnap.com/functional-programming-in-python/|Functional Programming in Python]] (FIXME) | * [[http://www.pysnap.com/functional-programming-in-python/|Functional Programming in Python]] (FIXME) |
* [[https://towardsdatascience.com/stop-using-print-to-debug-in-python-use-icecream-instead-79e17b963fcc|Stop Using Print to Debug in Python. Use Icecream Instead]] | * [[https://towardsdatascience.com/stop-using-print-to-debug-in-python-use-icecream-instead-79e17b963fcc|Stop Using Print to Debug in Python. Use Icecream Instead]] |
| |
| ===== Sous le capot (bytecode,...) ===== |
| * [[https://medium.com/swlh/efficiently-checking-for-an-empty-list-in-python-76b76099fbd3|Efficiently Checking for an Empty List in Python]] Frank Scholl, Medium, Nov 22, 2019 → comparaison des bytecodes Python/C générés pour 3 solutions proposées |
| |
===== Performances, temps d'exécution, ... ===== | ===== Performances, temps d'exécution, ... ===== |