Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Importing binary file is toooooo slow...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54204] Re: Importing binary file is toooooo slow...
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Sun, 13 Feb 2005 00:21:34 -0500 (EST)
  • References: <cuka7k$li0$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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...