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 mark.dickinson
Recipients Oren Milman, mark.dickinson
Date 2016-09-26.08:12:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474877543.38.0.687756467766.issue28272@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the patch. I'm a bit reluctant to make changes like this unless there's a measurable performance benefit. The extra check in maybe_small_long does have a value in terms of readability and safety with respect to future maintenance, and I'd expect a competent compiler to inline maybe_small_long and elide the extra check (though I haven't looked at the assembly output to check that). So I think we shouldn't change this unless there's a clear benefit to doing so.
History
Date User Action Args
2016-09-26 08:12:23mark.dickinsonsetrecipients: + mark.dickinson, Oren Milman
2016-09-26 08:12:23mark.dickinsonsetmessageid: <1474877543.38.0.687756467766.issue28272@psf.upfronthosting.co.za>
2016-09-26 08:12:23mark.dickinsonlinkissue28272 messages
2016-09-26 08:12:22mark.dickinsoncreate