Hacker News new | ask | show | jobs
by kzrdude 343 days ago
Many changes of that kind have been made by the faster-cpython team I believe, Mark Shannon was rather focused on it (and had a decade of experience of that kind of tweaks to python).

But I'm trying to find/recall a blog post that detailed the different steps in shrinking the CPython object struct...

If you say that's not enough, more radical changes needed, I would understand.

1 comments

Gotta be careful about the tone and mindset here.

Given any arbitrarily optimized thing, it is always possible to optimize it more. And the fact that it's possible to optimize it more is not meant as a criticism of folks who did the previous optimizations.

So, I have no doubt that Mark and others have worked on exactly the thing I'm talking about and that they've gotten wins. And I have no doubt that more can be done. Also, not saying I would do a better job at it than Mark or anyone else