Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1122

StarGraph has a Long nextId. That is pointless and a waste of 64-bits.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.1.1-incubating
    • None
    • hadoop, io, structure

    Description

      protected Long nextId = 0l;
      
          private Long nextId() {
              return this.nextId++;
          }
      

      This makes no sense as then each StarGraph in the full Graph will have similar ids! Moreover, what is referencing what when the adjacent vertices are just arbitrary long ids?!! We should require that StarGraph get provided ids for vertices (and perhaps edges)... We ensure no inconsistencies and we save 64-bits.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              okram Marko A. Rodriguez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: