public IDataContainer CreateDataContainer() { const int MAX_RECORDS = 128 * 1024; var data = new IndexRecordSet(KeyComparer, KeyEqualityComparer); data.MAX_RECORDS = MAX_RECORDS; return(data); }
private new IndexRecordSet InternalSplit(int count) { IndexRecordSet recordSet; if (list != null) { recordSet = new IndexRecordSet(Comparer, EqualityComparer, list.Split(count)); } else { if (dictionary != null) { TransformDictionaryToTree(); } recordSet = new IndexRecordSet(Comparer, EqualityComparer, set.Split(count)); } recordSet.MAX_RECORDS = MAX_RECORDS; return(recordSet); }