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 niklasf
Recipients niklasf
Date 2017-03-10.10:53:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489143237.03.0.753738364063.issue29782@psf.upfronthosting.co.za>
In-reply-to
Content
Baseline performance (9e6ac83acae):
    
$ ./python -m timeit "12345678 == 12345678.0"
5000000 loops, best of 5: 40 nsec per loop
$ ./python -m timeit "1 == 1.0"
10000000 loops, best of 5: 38.8 nsec per loop
$ ./python -m timeit "(1234578987654321).bit_length()"
10000000 loops, best of 5: 39.4 nsec per loop

Upcoming PR:

$ ./python -m timeit "12345678 == 12345678.0"
10000000 loops, best of 5: 34.3 nsec per loop
$ ./python -m timeit "1 == 1.0"
10000000 loops, best of 5: 34.4 nsec per loop
$ ./python -m timeit "(1234578987654321).bit_length()"
10000000 loops, best of 5: 36.4 nsec per loop
History
Date User Action Args
2017-03-10 10:53:57niklasfsetrecipients: + niklasf
2017-03-10 10:53:57niklasfsetmessageid: <1489143237.03.0.753738364063.issue29782@psf.upfronthosting.co.za>
2017-03-10 10:53:56niklasflinkissue29782 messages
2017-03-10 10:53:56niklasfcreate