Media Summary: today I show the tools and processes I used to improve today I talk about whether adding type annotations to another performance video! today I show you a surprisingly slow part of flake8 that got fixed in 5.0 - pretty profiling: ...

How I Sped Up Python By 20ms Intermediate Anthony Explains 417 - Detailed Analysis & Overview

today I show the tools and processes I used to improve today I talk about whether adding type annotations to another performance video! today I show you a surprisingly slow part of flake8 that got fixed in 5.0 - pretty profiling: ... and I actually went a bit further after recording! (it now can reorder all of pre-commit faster than `isort` can import!) - pretty today I show how I tracked down a performance regression, how I fixed it, and ultimately how it made pip way faster! - what is git ... today I talk about the absolutely-fastest way to start

today I answer an interesting question which surprised me -- why is ` today I talk about how to declare optional dependencies in the packages you're providing as well as how to install optional ... I've found a really cool way to make pure today I talk about why dictionary literals (and other literals) are faster than their function-called counterparts - fine I'll make a video about it -- here's my stance on pinning dependencies and why I do what I do in the different scenarios. today we talk about "soft" keywords and how they allow a growing programming language to evolve without breaking the world!

today I analyze / address an impressive claim -- that cpython's hash can be changed and improve performance drastically! today I show how I went about improving the performance of the tokenize module by 20-30%. first why I noticed it at all to begin ... today I talk about reference counting and the `weakref` module and some use cases for weak references (and why they're not ... today I go over one of my favorite debugging techniques and three ways to use it (scripts, inline, or with pytest!) playlist: ... oops spoiler in the thumbnail it's str.partition, oh well -- I

Photo Gallery

how I sped up python by 20ms (intermediate) anthony explains #417
is python with types faster? (intermediate) anthony explains #126
how I sped up flake8 by 20% (intermediate) anthony explains #460
how I made my import sorter 7x faster (intermediate) anthony explains #457
I made pip startup 25% faster (intermediate) anthony explains #427
the fastest python startup with `python -S` (intermediate) anthony explains #411
python: why is -c faster than -m? (intermediate) anthony explains #222
python packaging: optional dependencies (intermediate) anthony explains #074
python variable unpackings (beginner - intermediate) anthony explains #031
pure python windows .exe (no compiler!) (intermediate) anthony explains #107
python: {...} is faster than dict(...) (intermediate) anthony explains #223
python's optimization mode is mostly useless (intermediate) anthony explains #523
Sponsored
Sponsored
View Detailed Profile
Sponsored
Sponsored