Squint icon indicating copy to clipboard operation
Squint copied to clipboard

Eliminate allocation of Path in DiagonalView#draw

Open benjamin-bader opened this issue 8 years ago • 0 comments
trafficstars

This PR computes the diagonal path in onMeasure and re-uses a single Path instance, avoiding excess allocation and computation in the draw path.

benjamin-bader avatar Dec 25 '16 20:12 benjamin-bader