Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-1975

Graph getUndirected improvement

    XMLWordPrintableJSON

Details

    Description

      The current getUndirected method uses a union and a map to add the reverse edges to the graph. This could be done by simply using a flatMap that adds the edge and its reversed version - a flatMap is less expensive than a union followed by a map.

      Attachments

        Activity

          People

            andralungu Andra Lungu
            andralungu Andra Lungu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: