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

javac performance: 8-10% penalty for using Iterator for empty lists

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • tools
    • b56
    • generic
    • solaris_8

      javac performance could be improved about 8-10% simply by creating a single
      "empty" iterator object that is always returned by List.iterator() when the
      list is empty.

            gafter Neal Gafter (Inactive)
            gafter Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: