internal void Flush(long ts) { while (!list.IsEmpty) { var first = list.FindMin(); if (first.ts < ts) { list.DeleteMin(); } else { break; } } }
/// <summary> /// /// </summary> /// <returns></returns> public KeyValuePair <K, V> DeleteMin() { return(sortedpairs.DeleteMin()); }