Message145071
| 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:29 | rhettinger | set | recipients: + rhettinger, petri.lehtinen, lars |
| 2011-10-07 11:49:29 | rhettinger | set | messageid: <1317988169.41.0.742473892198.issue13121@psf.upfronthosting.co.za> |
| 2011-10-07 11:49:28 | rhettinger | link | issue13121 messages |
| 2011-10-07 11:49:28 | rhettinger | create | |