mafintosh / hyperdb

Distributed scalable database
MIT License
752 stars 75 forks source link

Document `createReadStream` reverse #142

Closed brechtcs closed 5 years ago

brechtcs commented 5 years ago

I was checking if the reverse option was already implemented in ./lib/iterator, because I might need it for a project I'm working on. Turns out it is, so this patch adds this information to the API documentation for createReadStream.

I'm wondering though whether reading records in reverse order will affect performance, like it does in LevelDB. If thats the case I could add another line to the documentation to point that out.

mafintosh commented 5 years ago

I'm pretty sure the perf diff is negligible. Thanks! :)