[PYTHON MATRIX-SIG] Array -> String: array length
Jean-Bernard ADDOR
jbaddor@phy.ulaval.ca
Wed, 7 May 1997 19:38:24 -0400 (EDT)
I am very happy to hear about the length of the numpy arrays other users
uses because I uses these day pow(2,22) = len(array) = 4194304 and I
seriously ask me questions about python memory managment. My program uses
hundreds Megs of RAM. My question is how many memory uses a
Numeric.array(pow(2,22), Numeric.Float) is it much more than pow(2,24)
bytes ?
A bientot,
Jean-Bernard
On Wed, 7 May 1997, Konrad Hinsen wrote:
> Just in case anyone wonders *why* I am doing this: I need to store
> long string in netCDF files, which have no special string type, just
> arrays of characters. And those strings can easily reach a length of
> 500000!
>
> Konrad.
> --
> -------------------------------------------------------------------------------
> Konrad Hinsen | E-Mail: hinsen@ibs.ibs.fr
> Laboratoire de Dynamique Moleculaire | Tel.: +33-4.76.88.99.28
> Institut de Biologie Structurale | Fax: +33-4.76.88.54.94
> 41, av. des Martyrs | Deutsch/Esperanto/English/
> 38027 Grenoble Cedex 1, France | Nederlands/Francais
> -------------------------------------------------------------------------------
>
> _______________
> MATRIX-SIG - SIG on Matrix Math for Python
>
> send messages to: matrix-sig@python.org
> administrivia to: matrix-sig-request@python.org
> _______________
>
_______________
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
_______________