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 scoder
Recipients mark.dickinson, pitrou, scoder, serhiy.storchaka
Date 2014-11-16.10:41:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416134501.14.0.582661027508.issue18813@psf.upfronthosting.co.za>
In-reply-to
Content
I reran the benchmarks with the fast path in _PyEval_SliceIndex() and the results are not conclusive. There is no clear indication that it improves the performance.

The problem is that most slices have no step, many slices are open ended on at least one side (i.e. usually have one or two fields set to None) and they are only used once, so integer index optimisations can only have a limited impact compared to instantiating the slice object in the first place.
History
Date User Action Args
2014-11-16 10:41:41scodersetrecipients: + scoder, mark.dickinson, pitrou, serhiy.storchaka
2014-11-16 10:41:41scodersetmessageid: <1416134501.14.0.582661027508.issue18813@psf.upfronthosting.co.za>
2014-11-16 10:41:41scoderlinkissue18813 messages
2014-11-16 10:41:41scodercreate