Affects Version/s: None
Fix Version/s: None
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:
|Status||Open [ 1 ]||Closed [ 6 ]|
|Resolution||Fixed [ 1 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|28m 44s||1||Filipe Manana||29/Dec/10 20:55|