On Sat, 15 Jun 2019 22:02:35 -0600 Neil Schemenauer <nas-python@arctrix.com> wrote:
On 2019-06-15, Antoine Pitrou wrote:
We should evaluate what problem we are trying to solve here, instead of staring at micro-benchmark numbers on an idle system.
I think a change to obmalloc is not going to get accepted unless we can show it doesn't hurt these micro-benchmarks. To displace the status quo, it has to give other advantages as well. I don't have any agenda or "problem to solve". After Tim made a PR to allow obmalloc to use larger pools, I thought it would be interesting to see if a arena mapping scheme based on radix trees should be performance competitive. I'm not proposing any changes to CPython at this point. I'm sharing the results of an experiment. I thought it was interesting. I guess you don't.
I'm not saying it's not interesting. I'm just saying that you can't validate memory allocator changes only on short-running micro-benchmarks with well-behaved allocation patterns. Regards Antoine.