consider a case where 1 follows (range 1 10000) and 2 follows (2 9999)
the difference should yield [1, 10000], but in the old code, it would just yield , as the query would end prematurely in the (newPage.size == 0) condition.
In my test config, the max page size was 4000 (which would yield an identical page 2 for both queries, thereby terminating it early with the page.filter eliminating all the values in newPage).
Fixed bug in -- operator
Thank you for your contribution! Twitter has decided to stop supporting FlockDB as an open source project. Sorry that your pull requests was not reviewed earlier.
We're now formally archiving this project but please feel free to fork and resurrect.