[Numpy-discussion] fromstring, tostring slow?
Tue Feb 13 18:02:10 CST 2007
Yes, but does the code have the same license as NumPy? As I work for a software company, where I help with the scripting interface, I must make sure everything I use is cited and has the appropriate license.
From: firstname.lastname@example.org [mailto:email@example.com] On Behalf Of Stefan van der Walt
Sent: Tuesday, February 13, 2007 3:52 PM
Subject: Re: [Numpy-discussion] fromstring, tostring slow?
On Tue, Feb 13, 2007 at 03:44:37PM -0800, Mark Janikas wrote:
> I don't think I can do that because I have heterogeneous rows of
> data.... I.e. the columns in each row are different in length.
> Furthermore, when reading it back in, I want to read only bytes of the
> info at a time so I can save memory. In this case, I only want to have
> one record in mem at once.
> Another issue has arisen from taking this routine cross-platform....
> namely, if I write the file on Windows I cant read it on Solaris. I
> assume the big-little endian is at hand here.
Indeed. You may want to take a look at npfile, the new IO module in
scipy written by Matthew Brett (you don't have to install the whole
scipy to use it, just grab the file).
Numpy-discussion mailing list
More information about the Numpy-discussion