Instead of storing @data in an array, store it in a hash (%data) with the key being $id . $datestamp.
Read in each $ref and test if the key built from it exists in %data. If not print the $ref or store it in an array for processing later.
--Jim
Update: Oh well, conversation with PHB slowed my reply but looks like you've already got what you need. :)
In reply to Re: Large Set Efficiency Question
by jlongino
in thread Large Set Efficiency Question
by insensate
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |