php code to compare two HUGE lists (~300,000) entries and output differences

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-05-06T13:30:51Z Indexed on 2010/05/06 16:38 UTC
Read the original article Hit count: 119

Filed under:
|

hi, i've got two lists A and B, B = A + C - D. All elements are unique, no duplicates. How do i get the lists of:
(1) the new items added, C
(2) the old items removed, D

C and D aren't more than 10000 elements or so.

© Stack Overflow or respective owner

Related posts about php

Related posts about functions