Small cleanups in couch_db_updater
----------------------------------
Key: COUCHDB-1000
URL: https://issues.apache.org/jira/browse/COUCHDB-1000
Project: CouchDB
Issue Type: Improvement
Reporter: Filipe Manana
Assignee: Filipe Manana
Priority: Trivial
Attachments: COUCHDB-1000.patch
The following trivial patch avoids doing a full linear search in some
situations and avoids unnecessary calls to couch_btree functions and doing list
comprehensions when the list of _local docs is empty.
It also seems to add a little, performance gain:
http://graphs.mikeal.couchone.com/#/graph/8bf31813eef7c0b7e37d1ea259020a0b
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.