/// <inheritdoc /> //[MethodImpl(MethodImplOptions.AggressiveInlining)] public void Dispose() { // NB keep cursor state for reuse // dispose is called on the result of Initialize(), the cursor from // constructor could be uninitialized but contain some state, e.g. _value for FillCursor _cursor.Dispose(); if (!_lookUpCursor.Equals(default(SpanOpImpl <TKey, TValue, Stat2 <TKey>, SpanOp <TKey, TValue, Stat2 <TKey>, TCursor, Stat2OnlineOp <TKey, TValue, TCursor> >, TCursor>))) { _lookUpCursor.Dispose(); } }
/// <inheritdoc /> public void Dispose() // [MethodImpl(MethodImplOptions.AggressiveInlining)] { // NB keep cursor state for reuse // dispose is called on the result of Initialize(), the cursor from // constructor could be uninitialized but contain some state, e.g. _value for FillCursor _cursor.Dispose(); if (!_lookUpCursor.Equals(default(SpanOpImpl <TKey, TValue, Range <TKey, TValue, TCursor>, SpanOp <TKey, TValue, Range <TKey, TValue, TCursor>, TCursor, WindowOnlineOp <TKey, TValue, TCursor> >, TCursor>))) { _lookUpCursor.Dispose(); } }