Saturday, August 17, 2013

File Read Performance Issue

Newsgroup: comp.lang.c++

Subject: File Read Performance Issue

From: mrc2323@...

Date: Fri, 16 Aug 2013 18:41:48 -0700



I am developing an application that reads and stores data from 2

large text files. One file (5750kb) has ~160,000 records and the other

(23,000kb) has ~330,000 records. The program reads both files and

converts/stores their data into vectors. Also, some indices to unique

records are developed (much like a telephone book), so that searches can

be efficiently done.

The reads at program start take a long time (~2 minutes), and

although I use buffers of 4096 size, I can't see other ways to improve

this aspect of the program's performance. The data this program uses

will continue to grow, so I am concerned about its viability. Any

thoughts? TIA







via Usenet Forums - Usenet Search,Free Usenet - comp.lang.c++ http://www.pocketbinaries.com/usenet-forums/showthread.php?67653-File-Read-Performance-Issue&goto=newpost

View all the progranning help forums at:

http://www.pocketbinaries.com/usenet-forums/forumdisplay.php?128-Coding-forums

No comments:

Post a Comment