[Numpy-discussion] numpy.savez does /not/ compress!?

Hans Meine meine at informatik.uni-hamburg.de
Tue Jun 8 07:25:52 EDT 2010


Hi Anne,

thanks for your input, too.

On Tuesday 08 June 2010 12:53:51 Anne Archibald wrote:
> I'm also a little dubious about making compression the default.
> np.savez provides a feature - storing multiple arrays - that is not
> otherwise available.  I suspect many users care more about speed than
> size.

You're probably right.  Together with the behaviour change, I'd say it's a bad 
idea to change the default.

And you're right concerning the API - it would've been better to explicitly 
pass a dict, but I don't want to introduce a new function for this reason.

Best,
  Hans



More information about the NumPy-Discussion mailing list