Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3370

library: refactor field_type and fields vectors into a more efficient data structure

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: schema.rs
    • None
    • 5
    • Iteration Wasabi, Iteration Xiaolongbao, Iteration Yuca

      when iterating over the input document we need to be checking whether an existing field already exist, and if it does update its field type. this requires two iterations over the 'fields' and 'field_type' vectors. this should be rewritten to be a more efficient data structure that would not require the double iteration and overwriting of an existing field_type struct.

            Assignee:
            irina.shestak@mongodb.com Irina Shestak (Inactive)
            Reporter:
            irina.shestak@mongodb.com Irina Shestak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: