I have several python scripts where I store 5-10 million pairs of key values ββin a dictionary, and I request this dictionary about 5-10 million times. I noticed that the python dict does not work very well. Is there any other implementation that is most suitable for string keys.
Edit:
I have two large lists of peopleβs names and I want to match them, so I take one of them as a list of links and try to apply different heuristics for each name in the second list, to find out if this exists in the first list, So, I should query the first list 2-3 times for each name in the second list. Hope this makes sense.
source
share