Re: [PHP-WIN] Comparing large arrays

2010-02-22 Thread Pierre Joye
hi, You can disable the time limit, or use a database, which may be a much better tool for that. Cheers, On Mon, Feb 22, 2010 at 1:33 PM, Murray R. Summers wrote: > I have two arrays, generated from even larger text source files (one is > ~50K elements and the other is about 90K elements).  I n

[PHP-WIN] Comparing large arrays

2010-02-22 Thread Murray R. Summers
I have two arrays, generated from even larger text source files (one is ~50K elements and the other is about 90K elements). I need to compare the two, and produce a result array that contains only the elements of array 1 that are not also in array 2. It seems like array_diff() is exactly the