iilyak opened a new pull request #586: Avoid using length to detect non empty list URL: https://github.com/apache/couchdb/pull/586 ## Overview length(Values) is O(n) operation. Which could get expensive for long lists. Change the code to rely on pattern matching to detect non empty lists. ## Testing recommendations make eunit apps=mango ## Checklist - [x] Code is written and works correctly; - [ ] Changes are covered by tests; - [ ] Documentation reflects the changes; ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
