Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              fdmanana Filipe Manana
              Reporter:
              fdmanana Filipe Manana
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: