y/iterator.go
func NewMergeIterator(iters []Iterator, reversed bool) *MergeIterator {
	m := &MergeIterator{all: iters, reversed: reversed}
	m.h = make(elemHeap, 0, len(iters))
	m.initHeap()
	return m
}
func NewMergeIterator(iters []Iterator, reversed bool) *MergeIterator {
	m := &MergeIterator{all: iters, reversed: reversed}
	m.h = make(elemHeap, 0, len(iters))
	m.initHeap()
	return m
}
func NewMergeIterator ( iters [ ] Iterator , reversed bool ) * MergeIterator { m := & MergeIterator { all : iters , reversed : reversed } m . h = make ( elemHeap , 0 , len ( iters ) ) m . initHeap ( ) return m }
// NewMergeIterator returns a new MergeIterator from a list of Iterators.
NewMergeIterator returns a new MergeIterator from a list of Iterators .