3 ms·
Would it be desirable or possible to instead return a lazy collection that only fetches perhaps 10 results and fetches more as you iterate?
by Manishearth 11y ago
Would it be desirable or possible to instead return a lazy collection that only fetches perhaps 10 results and fetches more as you iterate?
- rabidferret 11y agoIt's impossible. We can't guarantee the order of the result set, so we'd have to iterate the entire collection just to implement `next`