Copying data is wasteful, mutating data is dangerous
Copying data wastes memory, and modifying/mutating data can lead to bugs. Learn how to implement a compromise between the two in Python: hidden mutability.
Helping you deploy with confidence, ship higher quality code, and speed up your application.
Visit pythonspeed.com → RSS feedOn Hacker News May 2019 – Aug 2026
Software Engineering 10Systems & Performance 5Infrastructure & DevOps 5Databases & Data 3Security & Privacy 1Tech Industry & Business 1
Copying data wastes memory, and modifying/mutating data can lead to bugs. Learn how to implement a compromise between the two in Python: hidden mutability.
Figuring out how much parallelism your program can use is surprisingly tricky.
Learn how to load larger-than-memory NumPy arrays from disk using either mmap() (using numpy.memmap), or the very similar Zarr and HDF5 file formats.
Measuring your Python program’s memory usage is not as straightforward as you might think. Learn two techniques, and the tradeoffs between them.
Compilers have a hard time optimizing floating point math. Rust has a new API to fix this.