couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Manana (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-1000) Small cleanups in couch_db_updater
Date Wed, 29 Dec 2010 20:27:46 GMT

     [ 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.


Mime
View raw message