Message231244
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. |
|
Date |
User |
Action |
Args |
2014-11-16 10:41:41 | scoder | set | recipients:
+ scoder, mark.dickinson, pitrou, serhiy.storchaka |
2014-11-16 10:41:41 | scoder | set | messageid: <1416134501.14.0.582661027508.issue18813@psf.upfronthosting.co.za> |
2014-11-16 10:41:41 | scoder | link | issue18813 messages |
2014-11-16 10:41:41 | scoder | create | |
|