Author inada.naoki
Recipients inada.naoki, rhettinger, serhiy.storchaka, vstinner, xiang.zhang
Date 2016-10-07.03:33:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475811182.59.0.223072248042.issue28199@psf.upfronthosting.co.za>
In-reply-to
Content
Since entries array is embedded in PyDictKeysObject, we can't realloc entries.
And while values are split array, dictresize() convert split table into combine table.

Split table may have enough size of ma_values at first in typical case.
And in not typical case, split table may not be used.
So I think realloc ma_values is premature optimization, unless profiler says make_keys_shared()
is slow.
History
Date User Action Args
2016-10-07 03:33:02inada.naokisetrecipients: + inada.naoki, rhettinger, vstinner, serhiy.storchaka, xiang.zhang
2016-10-07 03:33:02inada.naokisetmessageid: <1475811182.59.0.223072248042.issue28199@psf.upfronthosting.co.za>
2016-10-07 03:33:02inada.naokilinkissue28199 messages
2016-10-07 03:33:02inada.naokicreate