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 pitrou
Recipients christian.heimes, ncoghlan, pitrou
Date 2013-10-06.19:23:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381087432.31.0.64004812114.issue19183@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a simple benchmark (Linux, gcc 4.7.3):

$ ./python -m timeit -s "words=[w for line in open('LICENSE') for w in line.split()]; import collections" "c = collections.Counter(words); c.most_common(10)"

- 64-bit build, before: 313 usec per loop
- 64-bit build, after: 298 usec per loop

- 32-bit build, before: 328 usec per loop
- 32-bit build, before: 329 usec per loop

- x32 build, before: 291 usec per loop
- x32 build, after: 284 usec per loop
History
Date User Action Args
2013-10-06 19:23:52pitrousetrecipients: + pitrou, ncoghlan, christian.heimes
2013-10-06 19:23:52pitrousetmessageid: <1381087432.31.0.64004812114.issue19183@psf.upfronthosting.co.za>
2013-10-06 19:23:52pitroulinkissue19183 messages
2013-10-06 19:23:52pitroucreate