Create remove_reference_nodes.py

What method is the fastest for removing reference nodes from a list?

lis =['node1', 'node2']
listed = cmds.ls(type='reference')
list(set(lis) - set(listed))