The future of Python immutability
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Fri Sep 4 23:12:38 EDT 2009
On Fri, 04 Sep 2009 19:23:06 -0700, sturlamolden wrote:
> I one did a test of NumPy's mutable arrays against Matlab's immutable
> arrays on D4 wavelet transforms. On an array of 64 MB of double
> precision floats, the Python/NumPy version was faster by an order of
> magnitude.
Is the difference because of mutability versus immutability, or because
of C code in Numpy versus Matlab code? Are you comparing bananas and
pears?
Without knowing what the test consisted of, and what it actually
measures, this comparison is meaningless.
--
Steven
More information about the Python-list
mailing list