Squint
Squint copied to clipboard
Eliminate allocation of Path in DiagonalView#draw
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.