
March 27, 2022
10:16 a.m.
Hi Thank you Inada for your prompt and helpful reply. Here's a link for cached hash in bytes object: https://bugs.python.org/issue46864 What I have in mind is making selected objects smaller, for example by using smaller pointers. But how to know the performance benefit this will give? I think it would be helpful to know how much SLOWER things are when we make Python objects say 8 or 16 bytes LARGER. This would give an estimate of the improvement from making all Python objects smaller. I've not done much performance testing before. Anyone here interested in doing it, or helping me do it? (Warning - I've never built Python before.) with best regards Jonathan