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.
The recently-seen-here, undef @saw{@in}; may be as fast, but it doesn't really sing out its intent.@saw{@in} = (); @out = keys %saw;
After Compline,
Zaxo
|
|---|