Hi Laurent,

On 2/24/15 6:51 AM, Laurent Bourgès wrote:
    FastPath2D would be public API. Perhaps that should be a separate
    discussion


FastPath2D is only a improvement of the Path2D class to trim arrays in
the clone() method but there is another solution: provide a new Path2D
constructor with given data arrays.
I agree it is another topic but really used by marlin to avoid too many
array resizing.

Why not just use new Path2D.Float(oldpath2d)? It trims the arrays of the source Path2D with minimal allocation waste...

                        ...jim

Reply via email to