From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4fbd260da735f6f4 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 28 Apr 2007 00:25:15 -0500 From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Reading and writing a big file in Ada (GNAT) on Windows XP References: <0hj5339mjmond132qhbn2o01unurs61lbj@4ax.com> X-Newsreader: Tom's custom newsreader Message-ID: Date: Sat, 28 Apr 2007 00:25:16 -0500 NNTP-Posting-Host: 24.6.140.189 X-Trace: sv3-7ffZ6hNRMH5NFYR7y/IPSJA79PbDCoWb5wCtpHQm5sXCWmnmAbr5LWrnDHSn/cr8TMxwjuzZLN4ySx/!aiYfeGDGDhq0iLQWvbZ2I1F22H5lEdCl33xh5GAL2linqDj3wDs4WYGcT1AEqB44xmnOc5+mB+0t!b4HZRyfdfF8xw2bgqjW7k0sk25dm X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.34 Xref: g2news1.google.com comp.lang.ada:15372 Date: 2007-04-28T00:25:16-05:00 List-Id: >The problem is that the input file has more than 10 million lines of >text in it. The program works perfectly, but takes about 5 hours to >run. The Cygwin version of wc can count the lines in the input file in Is your problem in Text_IO or in the scanning & "modifications" code? If your program does no scanning and makes no modifications how long does it take?