Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
On a large file editing, moving very slowly, how can we increase the processing speed?
Posted
Comments
Dylan Morley 2-Jul-10 7:29am    
Need to see some code really, what type of file, what are you doing with the file

Could be...

* Dodgy code that could be refactored to speed things up
* Network related performance issues
* Hardware related performance issues

Need more info!
Niklas L 2-Jul-10 7:34am    
Are you talking about editing in the Visual Studio editor? (seeing how you tagged this question)
Sandeep Mewara 2-Jul-10 10:10am    
You need to provide more details on what type of file, which language you want to do it, etc.

1 solution

You really do not provide much information other than the fact you have a "large file". That is such a subjective value I won't go there.

First, how large is the file? What type of file? Say it is a flat file with 150,000 records. You could put up a splash screen and suck the whole thing into memory then walk through it that way. Not efficient but better than processing a flat file directly.

You could consider sucking up the flat file and loading it into a database. That could speed up processing and make your logic easier.

It could be you have just written bad code. Show us what you are doing and you will get a better answer.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900