couchdb-dev mailing list archives

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

                 Key: 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:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message