Performance Test – SortedDictionary vs Dictionary vs Map vs Array
I stumbled upon this interesting question on StackOverflow today, Jon Harrop’s answer mentions a significant overhead in adding and iterating over a SortedDictionary and Map compared to using simple arrays. Thinking about it, this makes sense, the SortedDictionary class sorts its constituent key-value pairs by key, which will naturally incur some performance overhead. F#’s Map …
Performance Test – SortedDictionary vs Dictionary vs Map vs Array Read More »