Updates amount of memory SkPath deserialization reserves

This modifies it to use a route that reserves the exact number of
verbs and points.

This is a hot spot for a couple of the motionmark tests, so
reserving the exact number slightly improves things (~4% on paths
and ~1% on arcs).

Change-Id: I1d6c08f614ce3dce6b3d086daae5ea57ef4153f3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/660696
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Herb Derby <herb@google.com>
1 file changed