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 methane, xiang.zhang
Date 2017-04-11.10:45:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491907548.26.0.262811882199.issue30040@psf.upfronthosting.co.za>
In-reply-to
Content
> Isn't the latter case the more common one? Creating an empty dict and then populate it.

This is memory usage optimization, not performance optimization.
(But I think memory efficiency makes multi process application faster because L3 cache size is limited resource.)
Later case shows how performance penalty is large.
History
Date User Action Args
2017-04-11 10:45:48methanesetrecipients: + methane, xiang.zhang
2017-04-11 10:45:48methanesetmessageid: <1491907548.26.0.262811882199.issue30040@psf.upfronthosting.co.za>
2017-04-11 10:45:48methanelinkissue30040 messages
2017-04-11 10:45:48methanecreate