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 zbyrne
Recipients casevh, josh.r, mark.dickinson, rhettinger, serhiy.storchaka, vstinner, zbyrne
Date 2014-07-22.02:34:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405996475.84.0.21592398199.issue21955@psf.upfronthosting.co.za>
In-reply-to
Content
I did something similar to BINARY_SUBSCR after looking at the 2.7 source as Raymond suggested. Hopefully I got my binaries straight this time :) The new patch includes Victor's inlining and my new subscript changes.

Platform of campaign orig:
Python version: 3.5.0a0 (default:c8ce5bca0fcd+, Jul 15 2014, 18:11:28) [GCC 4.6.3]
Timer precision: 6 ns
Date: 2014-07-21 20:28:30

Platform of campaign patch:
Python version: 3.5.0a0 (default:c8ce5bca0fcd+, Jul 21 2014, 20:21:20) [GCC 4.6.3]
Timer precision: 20 ns
Date: 2014-07-21 20:28:39

---------------------+-------------+---------------
Tests                |        orig |          patch
---------------------+-------------+---------------
1+2                  |  118 ns (*) |  103 ns (-13%)
"1+2" ran 100 times  | 7.28 us (*) | 5.93 us (-19%)
x[1]                 |  120 ns (*) |   98 ns (-19%)
"x[1]" ran 100 times | 7.35 us (*) | 5.31 us (-28%)
---------------------+-------------+---------------
Total                | 14.9 us (*) | 11.4 us (-23%)
---------------------+-------------+---------------
History
Date User Action Args
2014-07-22 02:34:36zbyrnesetrecipients: + zbyrne, rhettinger, mark.dickinson, vstinner, casevh, serhiy.storchaka, josh.r
2014-07-22 02:34:35zbyrnesetmessageid: <1405996475.84.0.21592398199.issue21955@psf.upfronthosting.co.za>
2014-07-22 02:34:35zbyrnelinkissue21955 messages
2014-07-22 02:34:35zbyrnecreate