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 phihag
Recipients phihag
Date 2012-11-13.16:19:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352823544.31.0.485629860142.issue16465@psf.upfronthosting.co.za>
In-reply-to
Content
On my system, {}  has become significantly slower in 3.3:

$ python3.2 -m timeit -n 1000000 '{}'
1000000 loops, best of 3: 0.0314 usec per loop
$ python3.3 -m timeit -n 1000000 '{}'
1000000 loops, best of 3: 0.0892 usec per loop
$ hg id -i
ee7b713fec71+
$ ./python -m timeit -n 1000000 '{}'
1000000 loops, best of 3: 0.0976 usec per loop

Is this because of the dict randomization?
History
Date User Action Args
2012-11-13 16:19:04phihagsetrecipients: + phihag
2012-11-13 16:19:04phihagsetmessageid: <1352823544.31.0.485629860142.issue16465@psf.upfronthosting.co.za>
2012-11-13 16:19:04phihaglinkissue16465 messages
2012-11-13 16:19:03phihagcreate