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 whole. If this is possible I'd expect a big speedup. Kind regards, Eike. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor