ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In mergeShapes, if we are doing an intersection and the 'from' side is open, we should only need to iterate the open shape's fields then, instead of both like we do in FieldMap::merge(). Since impliedType for the open shape will be any, the fields that are not known/named won't be useful for narrowing. The change should be pretty simple, something like

      if (isIntersection && isOpen(mergeFrom.open) {
        mergeInto.update(...) for each field in mergeFrom
      } else {
        mergeInto.merge(...)
      }
      

            Assignee:
            Unassigned
            Reporter:
            Henri Nikku
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: