By reversing the sort order in iterator, we can efficiently iterate over results in descending hash order. This option will be necessary for a leveldown implementation. Implements #107
This PR:
Adds the reverse option to iterator
Duplicates the tests in iterator-order.js to test for reverse iteration.
By reversing the sort order in iterator, we can efficiently iterate over results in descending hash order. This option will be necessary for a leveldown implementation. Implements #107
This PR:
reverse
option to iteratoriterator-order.js
to test for reverse iteration.