MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Importing binary file is toooooo slow...

  • To: mathgroup at
  • Subject: [mg54222] Re: Importing binary file is toooooo slow...
  • From: "J. K. Smith" <rob at>
  • Date: Sun, 13 Feb 2005 22:17:09 -0500 (EST)
  • References: <cuka7k$li0$>
  • Sender: owner-wri-mathgroup at

I think it was early last year I upgraded to 4.2 and I guess now I'm 
gonna have to pay up again. I had hoped I wouldn't so soon run into one 
of the few things they improve in upgrades.

On my code, I really thought I was just doing something stupid -- again. 
  I love those rare occasions when I did something almost normal.

Thanks to all who helped me. Best regards.

J. K. Smith wrote:
> I'm using v. --
> I am importing (wrong word?) binary data from a file:
> << Utilities`BinaryFiles`
> y = ReadListBinary["filename", SignedInt16, 
> ByteOrder->LeastSignificantByteFirst];
> The file is only 34k bytes long but it takes 16 seconds to do it. This 
> isn't a slow machine so clearly I'm doing something wrong again.
> I would appreciate any suggestions on how to make this thing sizzle as I 
> feel sure it can.  Right now I'm dead if I have to do a big file.
> Thanks
> remove the dash if emailing

  • Prev by Date: ParametricPlot Problem
  • Next by Date: Using Select with arrays? (Relative newbie)
  • Previous by thread: Re: Importing binary file is toooooo slow...
  • Next by thread: upgraded to Fedora Core 3