MathGroup Archive 2005

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

Search the Archive

Re: Importing binary file is toooooo slow...


J. K. Smith wrote:
> I'm using v.4.2.1.0 --
> 
> 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
> 
There is some super-fast binary IO in 5.1 - I guess you will have to 
upgrade!

David Bailey
dbaileyconsultancy.co.uk


  • Prev by Date: Re: Problem using Evaluate[] inside a Plot command. 5.1
  • Next by Date: Re: Re: Algebraic Symbol Manipulation
  • Previous by thread: Importing binary file is toooooo slow...
  • Next by thread: Re: Importing binary file is toooooo slow...