2 ms·
I'll probably eat my own words, but generally I believe CPython is meant to be easy to reason about, easy to read the code for and understand the implementation
by Waterluvian 9y ago
I'll probably eat my own words, but generally I believe CPython is meant to be easy to reason about, easy to read the code for and understand the implementation, and not to try to be meaningfully performant. I would bet the decision to refcount everything is to keep it simple.
- throwaway613834 9y agoPossibly, though it seems they do try to optimize things (they have an entire peephole optimizer).