MathGroup Archive 2005

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

Search the Archive

BinaryIO

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57797] BinaryIO
  • From: Kastens at Hamburg.BAW.DE (Marko Kastens)
  • Date: Wed, 8 Jun 2005 04:43:45 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

I have just updated to Mathematica 5.1.1.0 and trying the new BinaryIO-Commands to 
increase the IO speed. But ... here is something strange:


n = 1000000;
TSout = Table[{FromDate[{2000, 1, 1, 0, 0, 0}] + i, Random[]}, {i, n}];
BinaryWrite["binTS.dat", TSout, {"Real64", "Real64"}]; // Timing
TSin = BinaryReadList["binTS.dat", {"Real64", "Real64"}]; // Timing
TSout == TSin


Evaluating these lines with a fresh kernel: everything is ok. Evaluate them a 
second time and TSout==TSin produce a _False_. Restarting the kernel: 
everything is ok. 
Every time I (try to) overwrite the file _binTS.dat_ I got a False. It seems to 
me that the routine is not able to overwrite files.

Hmmm, any suggestions?

marko


  • Follow-Ups:
  • Prev by Date: Re: Function Fit to 3D data set
  • Next by Date: Re: Re: adding text to a plot erases plot?
  • Previous by thread: Re: Reloading packages: Removed[symbol]
  • Next by thread: Re: BinaryIO