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 serhiy.storchaka
Recipients ethan.furman, rhettinger, serhiy.storchaka
Date 2015-03-02.09:12:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425287528.65.0.868275705882.issue22801@psf.upfronthosting.co.za>
In-reply-to
Content
Additional check is not for free.

$ ./python -m timeit -s "from collections import Counter; a = Counter(); b = Counter(range(10))" -- "a &= b"

Unpatched: 100000 loops, best of 3: 8.4 usec per loop
Patched:   100000 loops, best of 3: 9.7 usec per loop
History
Date User Action Args
2015-03-02 09:12:08serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, ethan.furman
2015-03-02 09:12:08serhiy.storchakasetmessageid: <1425287528.65.0.868275705882.issue22801@psf.upfronthosting.co.za>
2015-03-02 09:12:08serhiy.storchakalinkissue22801 messages
2015-03-02 09:12:08serhiy.storchakacreate