by lang · 14y ago · 0 comments
Even more so in some areas, for instance a Python `int` is not a machine integer but a full-blown object.
(My point is that not having unboxed types does not imply being a memory hog. You just need a smarter implementation.)
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.