Path2D storage trimming

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 8, 9
    • Component/s: client-libs
    • 2d

        There are no public method to trim the arrays on an existing path object to just the needed size for long term storage. This would be useful when an object will be kept in a static state for a long time and the added storage that was created for potential growth will never be used.

        Workaround - the copy constructors do trim arrays so a saved path reference could be trimmed by copying it or cloning it and then saving that result, but it should be possible to do the same thing "in place".

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

                Created:
                Updated:
                Resolved: