Are you using Dictionaries correctly?
A while ago I wrote a small comparison between Dictionary, HashSet, SortedList and SortedDictionary when performing a lookup operation. I have noticed however that many developers don’t use the most efficient method for checking if an item exists and retrieving it. Most of the times, you’ll see something like this:...
2024, Nov 18 — 1 minute read