| MATLAB Central > MATLAB Newsreader > Fastest way to get the number of lines |
|
|
|
Subject: Fastest way to get the number of lines From: Pete sherer Date: 25 Aug, 2008 20:41:03 Message: 1 of 11 |
|
I have a gigantic .csv file (about 7-9GB), which contains |
|
Subject: Fastest way to get the number of lines From: Pete sherer Date: 25 Aug, 2008 20:49:02 Message: 2 of 11 |
|
Sorry - the file size is actually 37.0 GB!! |
|
Subject: Fastest way to get the number of lines From: Walter Roberson Date: 25 Aug, 2008 22:14:17 Message: 3 of 11 |
|
Pete sherer wrote: |
|
Subject: Fastest way to get the number of lines From: Pete sherer Date: 26 Aug, 2008 05:10:03 Message: 4 of 11 |
|
Thanks so much for the suggestion. |
|
Subject: Fastest way to get the number of lines From: us Date: 26 Aug, 2008 08:21:01 Message: 5 of 11 |
|
"Pete sherer": |
|
Subject: Fastest way to get the number of lines From: pisz_na.mirek@dionizos.zind.ikem.pwr.wroc.pl Date: 26 Aug, 2008 09:55:03 Message: 6 of 11 |
|
Pete sherer <tsh@abg.com> wrote: |
|
Subject: Fastest way to get the number of lines From: Pete sherer Date: 16 Sep, 2008 21:55:03 Message: 7 of 11 |
|
Similarly instead of counting the number of lines in the file, can the PERL code be modified to find the first row (of the first column only) that contains a specified value? |
|
Subject: Fastest way to get the number of lines From: Walter Roberson Date: 16 Sep, 2008 22:17:05 Message: 8 of 11 |
|
Pete sherer wrote: |
|
Subject: Fastest way to get the number of lines From: E Date: 17 Sep, 2008 11:28:02 Message: 9 of 11 |
|
Here's my take : |
|
Subject: Fastest way to get the number of lines From: Pete sherer Date: 17 Sep, 2008 15:50:18 Message: 10 of 11 |
|
|
|
Subject: Fastest way to get the number of lines From: Walter Roberson Date: 18 Sep, 2008 19:54:08 Message: 11 of 11 |
|
Pete sherer wrote: |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.
Contact us at files@mathworks.com