I tested performances of these classes :
A) Key-value keepers
- Dictionary
- SortedDictionary
- SortedList
B) Value keepers
- List
- HashSet
- List (Sorted and binary searched)
I inserted a number of random numbers to these classes and searched for numbers afterwards.
Below results show the average of 100 tests.
A) Key-value keepers
- Dictionary
- SortedDictionary
- SortedList
B) Value keepers
- List
- HashSet
- List
I inserted a number of random numbers to these classes and searched for numbers afterwards.
Below results show the average of 100 tests.