[Tutor] fast list traversal

Eike Welk eike.welk at gmx.net
Fri Oct 31 00:31:37 CET 2008

Hello Dinesh!

On Thursday 30 October 2008, Dinesh B Vadhia wrote:
> Bob:  Nothing special is being done on the elements of the list -
> additions/subtractions/ - and storing the results in an array.
> That's it.

You could convert the list into a numpy array first, and you could try 
to express the algorithm with operations that act on the array as a 

If this is possible I'd expect a big speedup. 

Kind regards,

More information about the Tutor mailing list