Code speedup tips

Michael Hudson mwh at python.net
Tue Mar 4 16:56:58 CET 2003


alloydflanagan at attbi.com (A. Lloyd Flanagan) writes:

> You probably don't need it if you're using Numeric, but you might try
> the array standard module.  It avoids a lot of the overhead of lists.

Usually, arrays only save space, not time.  I'm not sure which was the
issue here...

Cheers,
M.

-- 
  If you give someone Fortran, he has Fortran.
  If you give someone Lisp, he has any language he pleases.
    -- Guy L. Steele Jr, quoted by David Rush in comp.lang.scheme.scsh




More information about the Python-list mailing list