3 ms·
> Smarter implementations, notably PyPy, will do escape analysis, and never actually end up allocating those objects. Objects in a collection (which is what we
by masklinn 15y ago
> Smarter implementations, notably PyPy, will do escape analysis, and never actually end up allocating those objects.
Objects in a collection (which is what we're talking about here) escape kind-of by default.
Until type-specialized collections are merged in PyPy (if they are not yet), it'll have the same issue as CPython.