[PHP] Re: read file twice or read into array once?

2001-10-05 Thread John A. Grant
Richard Lynch [EMAIL PROTECTED] wrote in message 046901c14d62$b4c7a0c0$c801a8c0@Lynchux100">news:046901c14d62$b4c7a0c0$c801a8c0@Lynchux100... 100 lines of 200 chars each is 2 which is 20K which is chump change for RAM... Unless you are on a super busy page on a super high-volume server,

[PHP] Re: read file twice or read into array once?

2001-10-04 Thread Richard Lynch
100 lines of 200 chars each is 2 which is 20K which is chump change for RAM... Unless you are on a super busy page on a super high-volume server, just file() it. If you're on a super busy page on a super high-volume server, file() it anyway, and then ap benchmark it to see if it's slim