static void Check(int count, ReaderBatch readerBatch) { for(var i = 0; i < count; i++) Check(readerBatch); }
static void Check(ReaderBatch readerBatch) { Profiler.Measure(readerBatch.Reset); if(readerBatch.Length > 100) { var result = Profiler.Measure(() => readerBatch.Data.ToArray()); } else { var result2 = Profiler.Measure(() => readerBatch.Data.ToArray()); } }