Changeset 9866
- Timestamp:
- 08/07/13 14:08:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/MenuItems/ShrinkDataAnalysisRunsMenuItem.cs
r9865 r9866 103 103 104 104 private static bool EqualVariableValues(ValuesType values1, ValuesType values2) { 105 //compare variable names for equality 105 106 if (!values1.Keys.SequenceEqual(values2.Keys)) return false; 106 107 foreach (var key in values1.Keys) { … … 117 118 private static readonly Action<Dataset, Dictionary<string, IList>> variableValuesSetter; 118 119 private static readonly Func<Dataset, Dictionary<string, IList>> variableValuesGetter; 120 /// <summary> 121 /// The static initializer is used to create expressions for getting and setting the private variableValues field in the dataset. 122 /// This is done by expressions because the field is private and compiled expression calls are much faster compared to standad reflection calls. 123 /// </summary> 119 124 static ShrinkDataAnalysisRunsMenuItem() { 120 125 var dataset = Expression.Parameter(typeof(Dataset));
Note: See TracChangeset
for help on using the changeset viewer.