Message127792
| Author |
pitrou |
| Recipients |
kristjan.jonsson, mark.dickinson, pitrou, scoder |
| Date |
2011年02月03日.13:32:50 |
| SpamBayes Score |
4.2830163e-07 |
| Marked as misclassified |
No |
| Message-id |
<1296739968.3705.5.camel@localhost.localdomain> |
| In-reply-to |
<1296736446.82.0.125917468057.issue10227@psf.upfronthosting.co.za> |
| Content |
> I find it interesting that the base line is way below the other
> timings. That makes me think it's actually worth caching constant
> slice instances, as CPython already does for tuples.
Indeed. I have never touched it, but I suppose it needs an upgrade of
the marshal format to support slices.
(of course, this will not help for other common cases such as l[x:x+2]). |
|