Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8200134

Improve ModuleHashesBuilder

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • None
    • core-libs
    • None

      ModuleHashesBuilder can be improved by:
      - using ArrayDeque instead of LinkedList
      - replace calls to contains() with calls to methods that return special values when the element is missing.
      - avoid using N^2 algorithm by using HashSet
      - using the name "todo" for the work stack

            martin Martin Buchholz
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: