Media Summary: today I show the tools and processes I used to improve today I go over an extremely common pitfall with pytest and a helpful fix to prevent this from happening to you! playlist: ... today I talk about why dictionary literals (and other literals) are faster than their function-called counterparts -

Python S Optimization Mode Is Mostly Useless Intermediate Anthony Explains 523 - Detailed Analysis & Overview

today I show the tools and processes I used to improve today I go over an extremely common pitfall with pytest and a helpful fix to prevent this from happening to you! playlist: ... today I talk about why dictionary literals (and other literals) are faster than their function-called counterparts - today I answer an interesting question which surprised me -- why is ` today I talk about unicode variable names in today I talk about the absolutely-fastest way to start

today we talk about how executable lookup works on windows -- the specifics of `PATHEXT` and the effects of the current working ... today I talk about conditional dependencies for platform-specific deps using environment markers! - dealing with backported ... today I talk about an old technique that might appear in legacy code -- a forced native literal! I also show how to automatically ... today I talk about the basics of generator functions and how you'd type annotate them! playlist: ... today I show a common swapping technique in

Photo Gallery

python's optimization mode is mostly useless (intermediate) anthony explains #523
python has an optimizer? (intermediate) anthony explains #316
how I sped up python by 20ms (intermediate) anthony explains #417
are your python tests even running? (intermediate) anthony explains #438
python: {...} is faster than dict(...) (intermediate) anthony explains #223
python: why is -c faster than -m? (intermediate) anthony explains #222
python: unicode names and why they're bad (intermediate) anthony explains #356
the fastest python startup with `python -S` (intermediate) anthony explains #411
how does .exe magic work? (PATHEXT) (intermediate) anthony explains #549
python variable unpackings (beginner - intermediate) anthony explains #031
python is compiled? (+ disassembler) (intermediate) anthony explains #203
python os / platform-specific deps (PEP 508) (intermediate) anthony explains #488
View Detailed Profile
python's optimization mode is mostly useless (intermediate) anthony explains #523

python's optimization mode is mostly useless (intermediate) anthony explains #523

today I talk about

python has an optimizer? (intermediate) anthony explains #316

python has an optimizer? (intermediate) anthony explains #316

today I talk about

how I sped up python by 20ms (intermediate) anthony explains #417

how I sped up python by 20ms (intermediate) anthony explains #417

today I show the tools and processes I used to improve

are your python tests even running? (intermediate) anthony explains #438

are your python tests even running? (intermediate) anthony explains #438

today I go over an extremely common pitfall with pytest and a helpful fix to prevent this from happening to you! playlist: ...

python: {...} is faster than dict(...) (intermediate) anthony explains #223

python: {...} is faster than dict(...) (intermediate) anthony explains #223

today I talk about why dictionary literals (and other literals) are faster than their function-called counterparts -

python: why is -c faster than -m? (intermediate) anthony explains #222

python: why is -c faster than -m? (intermediate) anthony explains #222

today I answer an interesting question which surprised me -- why is `

python: unicode names and why they're bad (intermediate) anthony explains #356

python: unicode names and why they're bad (intermediate) anthony explains #356

today I talk about unicode variable names in

the fastest python startup with `python -S` (intermediate) anthony explains #411

the fastest python startup with `python -S` (intermediate) anthony explains #411

today I talk about the absolutely-fastest way to start

how does .exe magic work? (PATHEXT) (intermediate) anthony explains #549

how does .exe magic work? (PATHEXT) (intermediate) anthony explains #549

today we talk about how executable lookup works on windows -- the specifics of `PATHEXT` and the effects of the current working ...

python variable unpackings (beginner - intermediate) anthony explains #031

python variable unpackings (beginner - intermediate) anthony explains #031

today I

python is compiled? (+ disassembler) (intermediate) anthony explains #203

python is compiled? (+ disassembler) (intermediate) anthony explains #203

python

python os / platform-specific deps (PEP 508) (intermediate) anthony explains #488

python os / platform-specific deps (PEP 508) (intermediate) anthony explains #488

today I talk about conditional dependencies for platform-specific deps using environment markers! - dealing with backported ...

python: why str('foo') (python 2 / 3 compat) (beginner - intermediate) anthony explains #226

python: why str('foo') (python 2 / 3 compat) (beginner - intermediate) anthony explains #226

today I talk about an old technique that might appear in legacy code -- a forced native literal! I also show how to automatically ...

generator basics (+typing) (beginner - intermediate) anthony explains #077

generator basics (+typing) (beginner - intermediate) anthony explains #077

today I talk about the basics of generator functions and how you'd type annotate them! playlist: ...

python easter eggs: barry_as_FLUFL (beginner - intermediate) anthony explains #332

python easter eggs: barry_as_FLUFL (beginner - intermediate) anthony explains #332

today we go over another

what are python doctests? (beginner - intermediate) anthony explains #300

what are python doctests? (beginner - intermediate) anthony explains #300

today I talk about

from imports aren't faster! (beginner - intermediate) anthony explains #398

from imports aren't faster! (beginner - intermediate) anthony explains #398

I often hear the assertion that

how does swapping work in python? (beginner - intermediate) anthony explains #484

how does swapping work in python? (beginner - intermediate) anthony explains #484

today I show a common swapping technique in