itamarst
Wed Feb 24, 2016 2:14pm PST
Karma:
5602
about
I write about speeding up Python software development, and code, at https://pythonspeed.com

I write about fundamental engineering skills and programmer career advice at https://codewithoutrules.com

I also write a weekly email about all the mistakes I've made both coding and in my career over the past 20 years, so that you can learn and avoid them: https://softwareclown.com

submitted
Thurs May 22, 2025 6:06pm PST
Loading Pydantic models from JSON without running out of memory
@itamarst
12
43
125
Thurs Jan 30, 2025 8:34pm PST
The surprising way to save memory with BytesIO
@itamarst
1
4
Wed Jan 22, 2025 7:44pm PST
Faster pip installs: caching, bytecode compilation, and uv
@itamarst
1
2
Tues Jan 14, 2025 7:29pm PST
Catching memory leaks with your test suite
@itamarst
3
Mon Dec 9, 2024 5:13pm PST
Reducing CO₂ emissions with faster software
@itamarst
2
3
Tues Nov 12, 2024 3:41pm PST
Using portable SIMD in stable Rust
@itamarst
1
Mon Sep 30, 2024 3:35pm PST
Beyond multi-core parallelism: faster Mandelbrot with SIMD
@itamarst
1
4
Mon Sep 16, 2024 1:25pm PST
Let's build and optimize a Rust extension for Python
@itamarst
1
4
Fri Sep 13, 2024 4:52pm PST
It's time to stop using Python 3.8
@itamarst
3
5
5
Thurs May 30, 2024 3:17pm PST
Running 15× faster with a situation-specific algorithm
@itamarst
4
Tues Feb 27, 2024 5:08pm PST
Jevons Paradox doesn't always apply to software
@itamarst
2
Tues Feb 13, 2024 5:58pm PST
Not just Nvidia: GPU programming that runs everywhere
@itamarst
1
Tues Jan 30, 2024 5:12pm PST
Profiling your Numba code
@itamarst
5
23
67
Wed Jan 17, 2024 4:23pm PST
Beware of misleading GPU vs. CPU benchmarks
@itamarst
1
1
3
Mon Dec 18, 2023 4:04pm PST
How many CPU cores can you use in parallel?
@itamarst
19
98
183
Thurs Nov 30, 2023 3:32pm PST
Using Polars in a Pandas World
@itamarst
2
Tues Nov 21, 2023 3:51pm PST
Two kinds of threads pools, and why you need both
@itamarst
2
Fri Oct 20, 2023 2:27pm PST
Speeding Up Cython with SIMD
@itamarst
1
Wed Sep 20, 2023 7:34pm PST
Speeding up Floyd-Steinberg dithering: an optimization exercise
@itamarst
1
1
2
Mon Jul 10, 2023 5:37pm PST
The easiest way to speed up Python with Rust
@itamarst
5
Tues Jun 27, 2023 6:01pm PST
When NumPy is too slow
@itamarst
5
Mon Jun 12, 2023 6:53pm PST
Python 3.7: 30% of PyPI downloads, end of life in 3 weeks
@itamarst
1
Thurs Jun 8, 2023 4:00pm PST
Understanding CPUs can help speed up Numba and NumPy code
@itamarst
1
2
3
Wed May 24, 2023 3:50pm PST
Choosing a good file format for Pandas
@itamarst
2
Fri May 5, 2023 2:54pm PST
“Externally managed environments”: when PEP 668 breaks pip
@itamarst
6
Thurs Apr 6, 2023 2:50pm PST
Polars for initial data analysis, Polars for production
@itamarst
2
Fri Mar 31, 2023 4:36pm PST
Staying secure by breaking Docker caching
@itamarst
1
Thurs Mar 23, 2023 6:10pm PST
Speeding up text processing in Python (is hard)
@itamarst
1
1
5
Fri Feb 17, 2023 8:04pm PST
Python’s Multiprocessing Performance Problem
@itamarst
4
Wed Feb 1, 2023 7:55pm PST
Don’t bother trying to estimate Pandas memory usage
@itamarst
3
Wed Feb 1, 2023 3:20pm PST
The problem with float32: you only get 16M values
@itamarst
1
1
1
Fri Jan 27, 2023 6:55pm PST
Float64 to float32: Saving memory without losing precision
@itamarst
3
Thurs Jan 19, 2023 8:09pm PST
Some Reasons to Avoid Cython
@itamarst
3
Thurs Jan 12, 2023 3:48pm PST
Why Polars uses less memory than Pandas
@itamarst
6
Thurs Dec 8, 2022 4:23pm PST
It’s time to stop using Python 3.7
@itamarst
1
1
6
Sun Nov 20, 2022 1:35am PST
Hardcore Aesthetic
@itamarst
1
Thurs Nov 17, 2022 12:15am PST
Amazon has as much Seattle office space as next 40 biggest employers (2017)
@itamarst
4
Wed Nov 16, 2022 3:37pm PST
The cold incubator: the VC dream of workerless wealth
@itamarst
1
Tues Nov 15, 2022 5:22pm PST
Who controls parallelism? A disagreement that leads to slower code
@itamarst
5
Tues Nov 8, 2022 8:13pm PST
Recommendations for publishing End-of-life dates and support timelines
@itamarst
1
Thurs Nov 3, 2022 3:27pm PST
Good old-fashioned code optimization never goes out of style
@itamarst
1
1
4
Fri Oct 28, 2022 1:32pm PST
Early speed optimizations aren’t premature
@itamarst
4
6
7
Thurs Oct 27, 2022 1:20am PST
How to speed up the Rust compiler in October 2022
@itamarst
4
10
75
Wed Oct 26, 2022 4:02pm PST
Faster hardware is a bad first solution to slow software
@itamarst
1
Mon Oct 24, 2022 9:39pm PST
When should you upgrade to Python 3.11?
@itamarst
2
5
6
Tues Sep 27, 2022 2:01pm PST
Find slow data processing tasks (before your customers do)
@itamarst
2
Tues Sep 20, 2022 5:14pm PST
More or less horrible things you can do to measure Python performance
@itamarst
3
Thurs Aug 18, 2022 3:01pm PST
Invasive procedures: Python affordances for performance measurement
@itamarst
1
Thurs Aug 18, 2022 2:34pm PST
Counts: A command-line tool for ad-hoc profiling
@itamarst
2
Wed Aug 10, 2022 5:10pm PST
Finding performance problems: profiling or logging?
@itamarst
1
1
15
Mon Aug 1, 2022 6:08pm PST
To find performance bottlenecks, observe production
@itamarst
1
Thurs Jul 28, 2022 4:51pm PST
Aya: your tRusty eBPF companion
@itamarst
5
8
58
Mon Jul 25, 2022 8:07pm PST
The limits of Python vectorization as a performance technique
@itamarst
3