Path: news.mathworks.com!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!news-fra1.dfn.de!newsfeed.pionier.net.pl!pwr.wroc.pl!news.wcss.wroc.pl!not-for-mail
From: pisz_na.mirek@dionizos.zind.ikem.pwr.wroc.pl
Newsgroups: comp.soft-sys.matlab
Subject: Re: Fastest way to get the number of lines
Date: Tue, 26 Aug 2008 09:55:03 +0000 (UTC)
Organization: WUT
Lines: 10
Message-ID: <g90jtn$p9g$1@z-news.pwr.wroc.pl>
References: <g8v5cv$1us$1@fred.mathworks.com> <Z8Gsk.114613$nD.80388@pd7urf1no> <g9037b$efl$1@fred.mathworks.com>
NNTP-Posting-Host: infrared.zind.ikem.pwr.wroc.pl
X-Trace: z-news.pwr.wroc.pl 1219744503 25904 156.17.14.223 (26 Aug 2008 09:55:03 GMT)
X-Complaints-To: abuse@news.pwr.wroc.pl
NNTP-Posting-Date: Tue, 26 Aug 2008 09:55:03 +0000 (UTC)
User-Agent: tin/1.9.3-20080506 ("Dalintober") (UNIX) (Linux/2.6.25-2-686 (i686))
Xref: news.mathworks.com comp.soft-sys.matlab:487271



Pete sherer <tsh@abg.com> wrote:
> Thanks so much for the suggestion.
> 
> The perl code took about 3 hrs, while textscan TOOK 25 times
> longer - 3+ DAYS!!!
> 
> Thanks so much.

wc command in linux on my old Athlon 1600XP scans such file 
in 20 seconds/GB with about 20% CPU usage.