Re: [PHP] optimizing arrays

2004-05-11 Thread Brent Baisley
That's a lot of items to be putting into an array and probably a lot of memory being used. If you are accessing it incrementally, why not write everything to a flat file and access it a few lines at a time? I may be misunderstanding what you mean by incrementally, since you mention you are usin

Re: [PHP] optimizing arrays

2004-05-11 Thread Richard Davey
Hello Anna, Tuesday, May 11, 2004, 1:18:48 PM, you wrote: A> What techniques are there to optimise the use of very large arrays? I have A> an array of over 380K keys and values that is being processed incrementally, A> however the longer it runs the more time is seems to be taking - an array of

[PHP] optimizing arrays

2004-05-11 Thread Anna
Hi There, What techniques are there to optimise the use of very large arrays? I have an array of over 380K keys and values that is being processed incrementally, however the longer it runs the more time is seems to be taking - an array of 100k items is taking 1 hour to process, and array of 400k