One way that comes to mind is to use a sorted list of the data. When you get a new element, find its place in the list. If it's already there, then you don't need to add it. If it's not there, then add it in the proper place.
HTH.
In reply to Re: redundancy Checker
by spiritway
in thread redundancy Checker
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |