Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial 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

      1. COUCHDB-1000.patch
        0.9 kB
        Filipe Manana

        Activity

        Filipe Manana created issue -
        Filipe Manana made changes -
        Field Original Value New Value
        Attachment COUCHDB-1000.patch [ 12467136 ]
        Filipe Manana made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development