Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I want to know what is the best way to read text files that are 500 megs in size. each file contains more or less 500,000 rows. I need to read this file line by line to extract data from it.
do I load the file to a string list?
do i read the file using end of file and end of line while loops?
is there a better way to ready quickly and efficiently with out using so much memroy?
thank you very much.
0 · ·