Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7902583

GraphPathRecord.size() should be lazy

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • tools
    • None
    • jol

      GraphPathRecord computes the size eagerly, while this is not always needed. In some cases, users never call size(), and this wastes time. size() should not change over time, so it can be lazy.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: