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 Paul.Upchurch, eric.araujo, hynek, mark.dickinson, ned.deily, serhiy.storchaka
Date 2012-11-04.10:19:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352024364.52.0.106409323854.issue14794@psf.upfronthosting.co.za>
In-reply-to
Content
> Now benchmarks and special casing for Py_ssize_t values needed.

I thought about that, but I don't think it's worth it.  I did some quick timings, and as expected the new version of slice.indices is somewhat slower than the original.  But I think adding a special case for Py_ssize_t values would be premature optimization.
History
Date User Action Args
2012-11-04 10:19:24mark.dickinsonsetrecipients: + mark.dickinson, ned.deily, eric.araujo, hynek, Paul.Upchurch, serhiy.storchaka
2012-11-04 10:19:24mark.dickinsonsetmessageid: <1352024364.52.0.106409323854.issue14794@psf.upfronthosting.co.za>
2012-11-04 10:19:24mark.dickinsonlinkissue14794 messages
2012-11-04 10:19:24mark.dickinsoncreate