[issue23601] use small object allocator for dict key storage
Stefan Behnel
report at bugs.python.org
Fri Jul 10 06:34:50 CEST 2015
Stefan Behnel added the comment:
It's generally worth running the benchmark suite for this kind of optimisation. Being mostly Python code, it should benefit quite clearly from dictionary improvements, but it should also give an idea of how much of an improvement actual Python code (and not just micro-benchmarks) can show. And it can help detecting unexpected regressions that would not necessarily be revealed by micro-benchmarks.
https://hg.python.org/benchmarks/
And I'm with Mark: when it comes to performance optimisations, repeating even a firm intuition doesn't save us from validating that this intuition actually matches reality. Anything that seems obvious at first sight may still be proven wrong by benchmarks, and has often enough been so in the past.
----------
nosy: +scoder
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23601>
_______________________________________
More information about the Python-bugs-list
mailing list