MCPcopy Create free account
hub / github.com/nutsdb/nutsdb / Release

Method Release

iterator.go:138–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136}
137
138func (it *Iterator) Release() {
139 it.iter.Release()
140 it.currentItem = nil
141 it.valid = false
142}

Callers 15

BenchmarkIterator_NextFunction · 0.95
BenchmarkIterator_PrevFunction · 0.95
BenchmarkIterator_SeekFunction · 0.95
BenchmarkIterator_RewindFunction · 0.95
TestIteratorFunction · 0.95

Calls 1

ReleaseMethod · 0.65

Tested by 15

BenchmarkIterator_NextFunction · 0.76
BenchmarkIterator_PrevFunction · 0.76
BenchmarkIterator_SeekFunction · 0.76
BenchmarkIterator_RewindFunction · 0.76
TestIteratorFunction · 0.76