[Numpy-discussion] Numeric3

konrad.hinsen at laposte.net konrad.hinsen at laposte.net
Wed Feb 9 06:06:49 EST 2005

On Feb 9, 2005, at 14:35, Gary Strangman wrote:

> interfaces (functions and methods). I just worry that the method 
> interface would make the multiarray object sufficiently complex and 
> unwieldy to (a) induce a performance hit, or (b) prevent the 
> multiarray object from getting into the python core. But, maybe I just 
> misunderstand the nature of the code that would underly the method 
> interface.

Performance-wise there is no difference between methods and functions. 
And I don't see why a method interface would prevent arrays from 
getting into the core, considering that most Python types have a method 
interface. The string handling stuff was even moved from tunction style 
to method style between Python 1.5 and 2.0.

Konrad Hinsen
Laboratoire Léon Brillouin, CEA Saclay,
91191 Gif-sur-Yvette Cedex, France
Tel.: +33-1 69 08 79 25
Fax: +33-1 69 08 82 61
E-Mail: hinsen at llb.saclay.cea.fr

More information about the NumPy-Discussion mailing list