Implementing multiprocessing to compare large number of entries in a python dictionary
I just figured out that I could have simply used a dictionary nested inside a dictionary instead of a list nested inside a dictionary. Now the script finishes within minutes for each sample.