Message89863
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 |
|
Date |
User |
Action |
Args |
2009-06-29 16:36:37 | SilentGhost | set | recipients:
+ SilentGhost, rhettinger |
2009-06-29 16:36:37 | SilentGhost | set | messageid: <1246293397.43.0.379866932366.issue6370@psf.upfronthosting.co.za> |
2009-06-29 16:36:35 | SilentGhost | link | issue6370 messages |
2009-06-29 16:36:35 | SilentGhost | create | |
|