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

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Irina Shestak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: