Accessing a read-only dictionary with multiple threads
<p>I have a list, <strong>L</strong> and large dictionary, <strong>D</strong> that contains keys, <strong>K</strong> where k is a specific key in <strong>K</strong>. D[k] contains some information that I need to determine a list of results. Right now I am searching through each value in <strong>K</strong> and if the information there is of value to me I append k to <strong>L</strong>. This works in the iterative fashion but I am hoping that I can speed it up with multi-threading. There will never be an update to the dictionary. What would be a good way to go about implementing this?</p>