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, vstinner, xiang.zhang
Date 2016-10-28.11:49:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477655388.6.0.488372930343.issue28199@psf.upfronthosting.co.za>
In-reply-to
Content
The advantage is using memcpy in case of combined table without deletions. This is common case of creating dict without pre-resizing: dict(list), dict(iterator), etc.

In future, when will be possible to reuse old entries array, this also could help in case of multiple modifications without significant size growth. First squeeze entries (skipping NULL values), then clear and rebuild index table.
History
Date User Action Args
2016-10-28 11:49:48serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, vstinner, methane, xiang.zhang
2016-10-28 11:49:48serhiy.storchakasetmessageid: <1477655388.6.0.488372930343.issue28199@psf.upfronthosting.co.za>
2016-10-28 11:49:48serhiy.storchakalinkissue28199 messages
2016-10-28 11:49:48serhiy.storchakacreate