private static BigArray<string> GetArray(int size)
{
// We have to turn off JITO (just in time optimization) for testing because:
// 1) We can accidentally move to infinite recursive loop (and this is bad)
// 2) We shouldn't calculate the fastest implementations of all methods
// we need to test current one
var array = new BigArray<string>(new BigArrayConfiguration<string>
{
UseJustInTimeOptimization = false
});
for (int i = 0; i < size; i++)
{
array.Add(i.ToString());
}
return array;
}