Comparing a bigger network file with a smaller one

Hello, I have two edgelists. One bigger list master.txt and a subset of that, child.txt. I want to print out all the edges in master.txt which is not there in child.txt. I have done it the Python way, but its taking way to much time as the number of edges are huge. (one thing is that A-B and B-A are same, that is there is no directionality)

master.txt

A    B
C    D
E    F

child.txt

B    A
C    D

output:

E    F

See Comparing two edge list Post: 303020876

Well, no body posted any answers in that. I did using Python.

No posts because you were asked to show your own efforts first. Even failed approaches give base to discussions / improvements / learnings.

I am just asking for help so that I can process my data faster. Efforts were did put in, but not using shell, but thanks for your interest to point things out

What did you try?

python - Comparing two network edge lists - Stack Overflow

So what do you expect from these forums, now, on top of the solutions presented there?