I have two lists of numbers (L1 and L2). And I have to find whether any combination of L1 is in any combination of L2 numbers. 

I have tried a double loop through a powerset() function. However it is slowly.

powerset() generator: technomancy.org/python/powerset-generator-python.

I don't post the code as what I need is some ideas, approaches or whatever could iluminate me. 

Extra problem: ListA could be a monster list in terms of length and range of the numbers