hyper63 / hyper63/hyper-adapter-couchdb
reduce iterations in bulkDocuments by refactoring to use a transducer pattern
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Background in #36
`bulkDocuments` has a bunch of moving parts:
- Validate incoming documents
- Retrieve existing documents
- Merge existing records with incoming documents (using `rev`)
Each of these steps can be improved using transducers, and generally speaking coverage of bulk could be better. So this issue will cover that work:
- beef up tests for `bulk`
- optimize each of the steps in `bulk`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.