[PYTHON MATRIX-SIG] RE: How time-consuming is array()?

Fredrik Lundh fredrik_lundh@ivab.se
Tue, 29 Oct 1996 15:11:38 +0100


> Now the same script with 
>
> 	X=list(f_head.var('xp'))
>
> So it's not a problem in the NetCDF-package, only it
> returns a sequence, isn't it? But array is time-consuming.

Hmm.  I'm a bit puzzled, really.  The second test could mean that
NetCDF returns a custom sequence object, which delays reading until
you really ask for data...

What does

	print type(f_head.var('xp'))

print?

	/F

=================
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================