#reference-counting

[ follow ]
Software development
fromArtem Golubin
1 week ago

Recent optimizations in Python's Reference Counting

CPython adds LOAD_FAST_BORROW to load locals without incrementing reference counts, reducing reference-count traffic and overhead in hot loops via static lifetime analysis.
[ Load more ]