Message127792
> 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]). |
|
Date |
User |
Action |
Args |
2011-02-03 13:32:51 | pitrou | set | recipients:
+ pitrou, mark.dickinson, scoder, kristjan.jonsson |
2011-02-03 13:32:50 | pitrou | link | issue10227 messages |
2011-02-03 13:32:50 | pitrou | create | |
|