Fixed bug in -- operator #78

Open
wants to merge 1 commit into
from

Projects

None yet

1 participant

@adamwynne

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 [10000], 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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment