Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Fast Way to find one array in second array (Update: < 35 seconds.)

by melmoth (Acolyte)
on Oct 12, 2016 at 14:48 UTC ( #1173846=note: print w/replies, xml ) Need Help??


in reply to Re: Fast Way to find one array in second array (Update: < 35 seconds.)
in thread Fast Way to find one array in second array

this solution is definitely one that works as some of the other solutions do not preserve the order of the input arrays. this solution both removes the arrays whose set of elemetns are continaed within a second array, and does so without changing the order the elements in the filtered arrays.

  • Comment on Re^2: Fast Way to find one array in second array (Update: < 35 seconds.)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1173846]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2023-06-08 15:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (34 votes). Check out past polls.

    Notices?