Skip to content

reduce iterations in bulkDocuments by refactoring to use a transducer pattern #38

@TillaTheHun0

Description

@TillaTheHun0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions