Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8027181 Type Annotations Cleanup
  3. JDK-8037539

Inefficient implementation of Gen.setTypeAnnotationPositions

XMLWordPrintable

    • 8

      The implementation of setTypeAnnotationPositions will iterate over N type annotations N times, looking for a specific tree position. This is O(N^2). The implementation should use a hash table or similar structure to reduce running times to O(N).

            Unassigned Unassigned
            emc Eric Mccorkle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: