in reply to better union of sets algorithm?

I think that assigning a slice to the empty list is probably as good as it gets.

@saw{@in} = (); @out = keys %saw;
The recently-seen-here, undef @saw{@in}; may be as fast, but it doesn't really sing out its intent.

After Compline,
Zaxo