I have two "big" lists! Both of them have about over 24.000 items and I have to select:
- what item is in list 1 but not in list 2
- what item is in list 2 but not in list 1
As my calculation, if I run loop to find the difference, there will have 24.000x2=48.000 loops!
Is there anyway to compare faster than my way?
just an example:
values of list 1: | a | a | b | c | d | e |
values of list 2: | a | b | c | g | a |
The results must be: => d, e, g
Thank a lot!