Problems? Is your data what you think it is? | |
PerlMonks |
Re: Efficient selection mechanism?by kcott (Archbishop) |
on Jan 14, 2014 at 15:16 UTC ( [id://1070567]=note: print w/replies, xml ) | Need Help?? |
G'day BrowserUk, Using your 5 subarrays, I selected the middle one ([ 0, 10, 11, 19 ]): that should find the first and last subarrays as being the only ones not containing any of the integers: 0, 10, 11, 19. I don't believe this should consume huge amounts of memory:
Output:
-- Ken
In Section
Seekers of Perl Wisdom
|
|