public SortedSetHelper() { LambdaFind = CreateFindMethod(); find = LambdaFind.Compile(); LambdaConstructFromSortedArray = CreateConstructFromSortedArrayMethod(); constructFromSortedArray = LambdaConstructFromSortedArray.Compile(); LambdaReplace = CreateReplaceMethod(); replace = LambdaReplace.Compile(); LambdaGetViewBetween = CreateGetViewBetweenMethod(); getViewBetween = LambdaGetViewBetween.Compile(); }
public SortedSetHelper() { LambdaFind = RunningOnMono ? CreateMonoFindMethod() : CreateFindMethod(); find = LambdaFind.Compile(); internalMonoConstructFromSortedArray = RunningOnMono ? CreateInternalConstructFromSortedArray().Compile() : null; LambdaConstructFromSortedArray = RunningOnMono ? CreateMonoConstructFromSortedArray() : CreateConstructFromSortedArrayMethod(); constructFromSortedArray = LambdaConstructFromSortedArray.Compile(); LambdaReplace = RunningOnMono ? CreateMonoReplaceMethod() : CreateReplaceMethod(); replace = LambdaReplace.Compile(); LambdaGetViewBetween = RunningOnMono ? CreateMonoGetViewBetweenMethod() : CreateGetViewBetweenMethod(); getViewBetween = LambdaGetViewBetween.Compile(); }