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 SilentGhost
Recipients SilentGhost, rhettinger
Date 2009-06-29.16:36:35
SpamBayes Score 5.4934894e-06
Marked as misclassified No
Message-id <1246293397.43.0.379866932366.issue6370@psf.upfronthosting.co.za>
In-reply-to
Content
I've never meant to suggest any kind of replacement of the Counter with
my example. I just tried to show that 

self[elem] += 1    # line 430 of collections.py

which at initialisation naturally propagates to __missing__ is somewhat
slow. and had it been possible to always have key in the Counter, it
might have speed up initialisation and/or update
History
Date User Action Args
2009-06-29 16:36:37SilentGhostsetrecipients: + SilentGhost, rhettinger
2009-06-29 16:36:37SilentGhostsetmessageid: <1246293397.43.0.379866932366.issue6370@psf.upfronthosting.co.za>
2009-06-29 16:36:35SilentGhostlinkissue6370 messages
2009-06-29 16:36:35SilentGhostcreate