Media Summary: today I answer an interesting question which surprised me -- why is ` today I show the tools and processes I used to improve today I talk about whether adding type annotations to

Python Is Faster Than Dict Intermediate Anthony Explains 223 - Detailed Analysis & Overview

today I answer an interesting question which surprised me -- why is ` today I show the tools and processes I used to improve today I talk about whether adding type annotations to today I analyze / address an impressive claim -- that cpython's hash can be changed and improve performance drastically! today I talk about __slots__ and __dict__ and how they relate to objects! playlist: ... today I show how to easily make classes comparable in

today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ... today I talk about a quirk with `import`-imports and why flake8 doesn't mark one as "unused" (because it's actually potentially used ... 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 ...

Photo Gallery

python: {...} is faster than dict(...) (intermediate) anthony explains #223
python: why is -c faster than -m? (intermediate) anthony explains #222
how I sped up python by 20ms (intermediate) anthony explains #417
is python with types faster? (intermediate) anthony explains #126
can cpython be 76% faster by changing hash()? (no) (intermediate) anthony explains #269
python insertion-ordered dicts (beginner - intermediate) anthony explains #212
python: what is __slots__ and __dict__ (intermediate) anthony explains #122
python: easy comparable classes with functools.total_ordering (intermediate) anthony explains #353
python typing: object vs Any (intermediate) anthony explains #275
why doesn't flake8 mark this import as unused? (beginner - intermediate) anthony explains #234
how I sped up python's tokenize module by 25% (intermediate) anthony explains #221
python: what is weakref? (intermediate - advanced) anthony explains #366
Sponsored
View Detailed Profile
python: {...} is faster than dict(...) (intermediate) anthony explains #223

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

today I talk about why

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 `

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

is python with types faster? (intermediate) anthony explains #126

is python with types faster? (intermediate) anthony explains #126

today I talk about whether adding type annotations to

can cpython be 76% faster by changing hash()? (no) (intermediate) anthony explains #269

can cpython be 76% faster by changing hash()? (no) (intermediate) anthony explains #269

today I analyze / address an impressive claim -- that cpython's hash can be changed and improve performance drastically!

Sponsored
python insertion-ordered dicts (beginner - intermediate) anthony explains #212

python insertion-ordered dicts (beginner - intermediate) anthony explains #212

today I talk about insertion ordered

python: what is __slots__ and __dict__ (intermediate) anthony explains #122

python: what is __slots__ and __dict__ (intermediate) anthony explains #122

today I talk about __slots__ and __dict__ and how they relate to objects! playlist: ...

python: easy comparable classes with functools.total_ordering (intermediate) anthony explains #353

python: easy comparable classes with functools.total_ordering (intermediate) anthony explains #353

today I show how to easily make classes comparable in

python typing: object vs Any (intermediate) anthony explains #275

python typing: object vs Any (intermediate) anthony explains #275

today I talk about the difference between object and Any when typing things! - intro to typing / mypy: ...

why doesn't flake8 mark this import as unused? (beginner - intermediate) anthony explains #234

why doesn't flake8 mark this import as unused? (beginner - intermediate) anthony explains #234

today I talk about a quirk with `import`-imports and why flake8 doesn't mark one as "unused" (because it's actually potentially used ...

how I sped up python's tokenize module by 25% (intermediate) anthony explains #221

how I sped up python's tokenize module by 25% (intermediate) anthony explains #221

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 ...

python: what is weakref? (intermediate - advanced) anthony explains #366

python: what is weakref? (intermediate - advanced) anthony explains #366

today I talk about reference counting and the `weakref` module and some use cases for weak references (and why they're not ...

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

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

today I