PythonHub
2.47K subscribers
2.35K photos
49.6K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
How uv got so fast

uv's speed comes from engineering decisions, not just Rust. Static metadata, dropping legacy formats, and standards that didn't exist five years ago.

https://nesbitt.io/2025/12/26/how-uv-got-so-fast.html
Unit testing your code’s performance, part 1: Big-O scaling

Your software’s speed needs some form of testing; big-O scaling is a good starting point.

https://pythonspeed.com/articles/big-o-tests/
Recent optimizations in Python's Reference Counting

CPython 3.14+ introduced LOADFASTBORROW, a bytecode optimization that skips reference count increments when loading local variables in hot loops, using static lifetime analysis to ensure safety. This reduces memory management overhead in performance-critical code like tight loops, mimicking Rust-style borrowing while preserving Python's reference counting model, with further JIT optimi...

https://rushter.com/blog/python-refcount/
WebAssembly as a Python Extension Platform

https://nullprogram.com/blog/2026/01/01/