-
Notifications
You must be signed in to change notification settings - Fork 1.5k
adapter: simplify compareByIdThenRev() #8787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
garethbowen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this function used a lot? Does this yield a measurable improvement?
I suspect not - it's specific to |
bulkDocs get called by every api-call to Edit: |
garethbowen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a little on the fence here... I think it's a little less readable, but should be a little faster. But I'm not one to stand in the way of progress, so approved!
Remove one layer of functions.