jatar_k

msg:1303803 | 6:41 pm on Feb 5, 2004 (gmt 0) |
I don't usually use file. I usually read line by line and process that way. As with most parsing tasks, you have to be familiar with the type and amount of data to be sure that your method is the most efficient. Most of my parsers are for various types of logs and the amount of data can be overwhelming. I never use file because the thought of loading 500K lines into an array always makes my servers cry a little. ;)
|
copongcopong

msg:1303804 | 7:39 pm on Feb 5, 2004 (gmt 0) |
thanks for your insight. do you use fgetcsv? or other? please let me know so that I could personally try it and compare the speed. Thanks again.
|
jatar_k

msg:1303805 | 9:15 pm on Feb 5, 2004 (gmt 0) |
fgetcsv fgets fgetss fread it all depends on what type of data you are working with
|
|