Re: Speed of writing in Mathematica 3.01
- To: mathgroup@smc.vnet.net
- Subject: [mg11905] Re: Speed of writing in Mathematica 3.01
- From: "Igor Gribanov" <nuc@hotmail.com>
- Date: Thu, 9 Apr 1998 00:33:07 -0400
- Organization: BINP, Novosibirsk, Russia .
- References: <6fskgl$grm@smc.vnet.net>
I use Mathematica on Windows NT 4.0 and Pentium 100 processor. It takes awfully lot of time to peform writing: In[5]:= $Version Out[5]= "Microsoft Windows 3.0 (October 6, 1996)" In[2]:= a=Table[i,{i,1001}]; In[3]:= Timing[ filename="d:/test.ascii"; output=OpenWrite[filename]; Do[Write[output,a[[i]]];,{i,1,1001}]; Close[output];] Out[3]= {26.969 Second,Null} almost 27 seconds???? Why???? ------------------------------------------------------ Russell Towle wrote in message <6fskgl$grm@smc.vnet.net>... >>In[8]:= >>Timing[ >>filename="Macintosh HD:test.ascii"; >>output=OpenWrite[filename]; >>Do[ >> Write[output,a[[i]]]; >>,{i,1,1001}]; >>Close[output]; >> ] >> >>Out[8]= >>{23.4 Second,Null} > >I use version 2.2.2 on a kind of clunky older Mac, same write as above >takes 2.88 seconds. > >Russell Towle >Giant Gap Press: books on California history, digital topographic maps >P.O. Box 141 >Dutch Flat, California 95714 >------------------------------ >Voice: (916) 389-2872 >e-mail: rustybel@foothill.net >------------------------------ > >