To the OP, why do you need to store all the items in memory at the same time? Can't you read some, process them then read the next lot, process them, read the next lot.... etc?
No I couldn't because we have to use 1,6 Mio values direktly. If we read them each for each it will take a lot of time.
Without testing I can't be sure, but my past experience suggests that working with several smaller sets of data one at a time would be more efficient than working with one big one if that's possible. I could of course be wrong since I don't know the internals of PHP too well, but I'd be surprised if I was.
-- Stuart
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php