On 11/7/2016 1:14 PM, Laurent Bourgès wrote:
The only difference in Path2D.java I noted is that the Java2D version has
an EXPAND_MIN which is 10, but you re-use INIT_SIZE, which is 20, here for
the same purpose.
You're right; I think I didn't want to add an extra constant but if you
prefer being more consistent, I can prepare another webrev.
In looking at it again, I don't think it matters since it would only
ever be triggered if they created a path that intentionally had fewer
than the default number of entries, so it makes more sense to always
grow by at least the INIT_SIZE rather than a smaller number.
I think I like the new policy better than the one in Java2D...
...jim