[Python-Dev] performance of {} versus dict()

Mark Adam dreamingforward at gmail.com
Thu Nov 15 00:52:17 CET 2012


On Wed, Nov 14, 2012 at 5:40 PM, Chris Angelico <rosuav at gmail.com> wrote:
> On Thu, Nov 15, 2012 at 10:36 AM, Steven D'Aprano <steve at pearwood.info> wrote:
>> On 15/11/12 05:54, Mark Adam wrote:
>> Notice that I'm not merging one dict into another, but merging two dicts
>> into a third.
>
> Side point: Wouldn't it be quite logical to support dict addition?
>

Yes, but then you'd be in my old argument that dict should inherit from set.


More information about the Python-Dev mailing list