Author inada.naoki
Recipients Mark.Shannon, inada.naoki, josh.r, louielu, 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:17inada.naokisetrecipients: + inada.naoki, tim.peters, rhettinger, terry.reedy, vstinner, r.david.murray, Mark.Shannon, serhiy.storchaka, josh.r, xiang.zhang, louielu
2019-03-12 23:02:17inada.naokilinkissue30040 messages
2019-03-12 23:02:17inada.naokicreate