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

Path2D storage growth algorithms should be less linear

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 8
    • client-libs
    • None
    • 2d
    • b65

        A significant amount of time is spent allocating and copying arrays when a Path2D is grown to a large number of path elements. The current growth algorithm is linear, but other growable storage objects use a progressive growth algorithm that increases the number of new elements as the capacity grows.

              lbourges Laurent Bourgès
              flar Jim Graham
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: