From: Konrad H. <hi...@cn...> - 2002-03-06 11:10:00
|
Pearu Peterson <pe...@ce...> writes: > Having wrapped a lot of Fortran codes to Python, I agree, that Numerical > Python should use 'int', instead of, 'long'. Though I have little > influence to make this change to happen in Numeric but just agreeing with > you. Even without the Fortran aspect, I'd prefer 'int' for integer arrays in general. There may be applications that need 64-bit integers, but any portable application wouldn't rely on them anyway. 64-bit arrays take up more memory, and when you pickle them you cannot read those files on 32-bit machines. Konrad. -- ------------------------------------------------------------------------------- Konrad Hinsen | E-Mail: hi...@cn... Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.56.24 Rue Charles Sadron | Fax: +33-2.38.63.15.17 45071 Orleans Cedex 2 | Deutsch/Esperanto/English/ France | Nederlands/Francais ------------------------------------------------------------------------------- |