-
Notifications
You must be signed in to change notification settings - Fork 3
Benchmarks
These charts represent comparisons of identical operations comparing on RankedDictionary versus SortedDictionary or RankedSet versus SortedSet. The first chart shows RankedDictionary's improved performance on add operations. For smaller dictionaries (e.g. 50,000 elements or fewer), SortedDictionary will have the advantage.
The second chart shows RankedDictionary's improved performance on retrieval operations.
The third chart shows Ranked dictionary's improved performance on iteration. RankedDictionary will show the greatest performance improvement on enumerator usage - passing a factor of three for large dictionaries.
The next chart benchmarks the RemoveWhere operations. Note that RankedSet completes these tests so quickly compared to SortedSet that they do not show on the chart.