I have an algorithm that works with 80,000 items and a dictionary, but the performance is not so good, so I\'m looking at a way to optimize it, maybe I\'m using the wrong li