This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients methane, rhettinger, serhiy.storchaka, xiang.zhang
Date 2017-01-26.17:02:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485450158.63.0.140607456579.issue29304@psf.upfronthosting.co.za>
In-reply-to
Content
I agreed that the duplication was made for reasons, but these reasons can be not valid or less weighty now, after a number of changes made last years like shared keys or compact dicts. An overhead of additional levels of indirection and complex code of dk_get_index() can be much larger than the benefit of code duplicating.

I think neither macrobenchmarks nor microbenchmarks would not show the true effect of this change. The code should be analyzed with more precise tools, similarly to how the set implementation was tuned. I think the patch should not be pushed without such analysis. Perhaps Raymond will found a time to do this.
History
Date User Action Args
2017-01-26 17:02:38serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, methane, xiang.zhang
2017-01-26 17:02:38serhiy.storchakasetmessageid: <1485450158.63.0.140607456579.issue29304@psf.upfronthosting.co.za>
2017-01-26 17:02:38serhiy.storchakalinkissue29304 messages
2017-01-26 17:02:38serhiy.storchakacreate