Enum SortOptimisations
- Namespace
- DynamicData
- Assembly
- DynamicData.dll
Flags used to specify one or more sort optimisations.
[Flags]
public enum SortOptimisations
Fields
ComparesImmutableValuesOnly = 1
Specify this option if the comparer used for sorting compares immutable fields only. In which case index changes can be calculated using BinarySearch rather than the expensive IndexOf.
IgnoreEvaluates = 2
Ignores moves because of evaluates. Use for virtualisatiom or pagination.
[Obsolete("This is no longer being used. Use one of the other options instead.")] InsertAtEndThenSort = ComparesImmutableValuesOnly | IgnoreEvaluates
The insert at end then sort entire set. This can be the best algorithm for large data sets with many changes.
None = 0
No sorting optimisation are applied.