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

[JAI]: The add() method in Area class can be improved

XMLWordPrintable

    • 2d
    • generic
    • generic

      The method add() in Area class is very slow when the area is complicated.

      See the attached test program: using Area.add to merge 10000 rectangles spends 20,275 milliseconds. However, using GenrealPath.append spends only 371 milliseconds.

            flar Jim Graham
            qgao Qinghuai Gao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: