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 rhettinger
Recipients lars, petri.lehtinen, rhettinger
Date 2011-10-07.11:49:28
SpamBayes Score 4.430603e-05
Marked as misclassified No
Message-id <1317988169.41.0.742473892198.issue13121@psf.upfronthosting.co.za>
In-reply-to
Content
I'll add the in-place methods including __iadd__, __isub__, __iand__, and __ior__.

If speed is your issue, you should continue to use the update() method which will always be faster because it doesn't have a step to strip zeros and negative values from the existing Counter.  Also, update() has a fast-path written in C.
History
Date User Action Args
2011-10-07 11:49:29rhettingersetrecipients: + rhettinger, petri.lehtinen, lars
2011-10-07 11:49:29rhettingersetmessageid: <1317988169.41.0.742473892198.issue13121@psf.upfronthosting.co.za>
2011-10-07 11:49:28rhettingerlinkissue13121 messages
2011-10-07 11:49:28rhettingercreate