built in zip function speed

Peter Otten __peter__ at web.de
Tue Jul 4 12:11:36 EDT 2006


Peter Otten wrote:

> from numarray import array
> a = array(a)
> b = array(b)
> c = array(c)
> d = array(d)
> e = (c-d) - (a-b)*(a-b)

Oops, bearophile has already posted the same idea with better execution...
 




More information about the Python-list mailing list