pairs from a list

Paddy paddy3118 at googlemail.com
Tue Jan 22 00:15:06 EST 2008


On Jan 22, 3:20 am, Alan Isaac <ais... at american.edu> wrote:
> I want to generate sequential pairs from a list.
<<snip>>
> What is the fastest way? (Ignore the import time.)
1) How fast is the method you have?
2) How much faster does it need to be for your application?
3) Are their any other bottlenecks in your application?
4) Is this the routine whose smallest % speed-up would give the
largest overall speed up of your application?

- Paddy.





More information about the Python-list mailing list