Open nicolasfranck opened 3 years ago
The slice method in Catmandu::Store::MongoDB::Bag is inherited from Catmandu::Iterable that uses the generator. It would be more efficient to override this.
slice
Catmandu::Store::MongoDB::Bag
Catmandu::Iterable
The slice is overridden however in Catmandu::Store::MongoDB::Searcher
Catmandu::Store::MongoDB::Searcher
The
slice
method inCatmandu::Store::MongoDB::Bag
is inherited fromCatmandu::Iterable
that uses the generator. It would be more efficient to override this.The
slice
is overridden however inCatmandu::Store::MongoDB::Searcher