You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Filipe Manana (JIRA)" <ji...@apache.org> on 2010/12/29 21:27:46 UTC
[jira] Updated: (COUCHDB-1000) Small cleanups in couch_db_updater
[ https://issues.apache.org/jira/browse/COUCHDB-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filipe Manana updated COUCHDB-1000:
-----------------------------------
Attachment: COUCHDB-1000.patch
Applying it to trunk if no objections raised
> 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.