built in zip function speed

John J. Lee jjlee at reportlab.com
Tue Jul 4 16:39:13 EDT 2006


bearophileHUGS at lycos.com writes:
[...]
> (Instead of numarray you can use ScyPy, numerics, etc.)
> If your data in on disk you can avoid the list=>array conversion, and
> load the data from the numerical library itself, this is probably
> almost as fast as doing the same thing in C.

Apparently if you're starting to write numerical code with Python
these days you should use numpy, not Numeric or numarray.

(Note that in old postings you'll see 'numpy' used as a synonym for
what's now strictly called 'Numeric'.  First came Numeric, then the
offshoots/rewrites numarray and scipy-core, and now numpy has come
along to re-unify the two camps -- hooray!)


John



More information about the Python-list mailing list