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 methane
Recipients Mark.Shannon, josh.r, louielu, methane, r.david.murray, rhettinger, serhiy.storchaka, terry.reedy, tim.peters, vstinner, xiang.zhang
Date 2019-03-12.23:02:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAEfz+Tw2LNny=GNgZ9wgOHiV1KOC-gfy-5KiprFKwG1us-yt8Q@mail.gmail.com>
In-reply-to <1552419963.97.0.403614037449.issue30040@roundup.psfhosted.org>
Content
On Wed, Mar 13, 2019 at 4:46 AM Raymond Hettinger
<report@bugs.python.org> wrote:
>
> Raymond Hettinger <raymond.hettinger@gmail.com> added the comment:
>
> I hate to see you working so hard to make this work.  IMO, the effort is futile.  Dicts were intentionally designed to do a single memory allocation and memset(0) to be fully ready to store data.  This PR is undoing that decision and will make Python worse rather than better.

Please that this PR is not do it.  From Python 3.6, dict uses two
allocations.  No embedded small table.
This PR just move 2nd allocation from dict creation to first insertion.
History
Date User Action Args
2019-03-12 23:02:17methanesetrecipients: + methane, tim.peters, rhettinger, terry.reedy, vstinner, r.david.murray, Mark.Shannon, serhiy.storchaka, josh.r, xiang.zhang, louielu
2019-03-12 23:02:17methanelinkissue30040 messages
2019-03-12 23:02:17methanecreate