Re:Recent Performance Improvements in Function Calls in CPython
by otteromkram on Thursday August 08, 2024 @07:18PM
(#41197427)
I was just referring to the sample code at the top. I should have clarified that and I apologize for the lack of clarity.
But, I would like to see the author use a for loop. I'm not why anyone would use a while loop of they know the constraints.
The code wasn't the authors, and what's more it's just an example to talk about the bytecode. Everyone knows `min(some_list)` is faster and more Pythonic.
This is a very interesting article and probably exposed a few people to a few interesting Python internals.