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 vstinner
Recipients Yury.Selivanov, casevh, josh.r, lemburg, mark.dickinson, pitrou, rhettinger, serhiy.storchaka, skrah, vstinner, yselivanov, zbyrne
Date 2016-02-06.02:12:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454724722.33.0.790032317481.issue21955@psf.upfronthosting.co.za>
In-reply-to
Content
msg223186, Serhiy Storchaka about inline.patch: "Confirmed speed up about 20%. Surprisingly it affects even integers outside of the of preallocated small integers (-5...255)."

The optimization applies to Python int with 0 or 1 digit so in range [-2^30+1; 2^30-1].

Small integers in [-5; 255] might be faster but for PyLong_FromLong().
History
Date User Action Args
2016-02-06 02:12:02vstinnersetrecipients: + vstinner, lemburg, rhettinger, mark.dickinson, pitrou, casevh, skrah, Yury.Selivanov, serhiy.storchaka, yselivanov, josh.r, zbyrne
2016-02-06 02:12:02vstinnersetmessageid: <1454724722.33.0.790032317481.issue21955@psf.upfronthosting.co.za>
2016-02-06 02:12:02vstinnerlinkissue21955 messages
2016-02-06 02:12:02vstinnercreate