[issue36380] collections.Counter in-place operators are unexpectedly slow

Raymond Hettinger report at bugs.python.org
Wed Mar 20 12:15:49 EDT 2019


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

I don't want to complexify the normal case.  Please don't go down the path of turning something simple into a mess.

Because counters are just a dict subclass, users are free to make updates in any way they want.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36380>
_______________________________________


More information about the Python-bugs-list mailing list