Integrated: 8309470: Potential performance improvements in VirtualFlow
Marius Hanl
mhanl at openjdk.org
Thu Jun 8 19:05:48 UTC 2023
On Wed, 7 Jun 2023 20:59:01 GMT, Marius Hanl <mhanl at openjdk.org> wrote:
> This PR does two small improvements to `VirtualFlow`.
> Until now, the `VirtualFlow` sometimes called the `computeHeight` or `computeWidth` methods, although a fixed cell size is set and we therefore don't need to call those method (and never should do, as we may don't get the expected result and mix computed sizes with the fixed cell size).
>
> Added tests that fail before and pass now. They check that the `computeHeight` or `computeWidth` (non vertical flow) are never called when a fixed cell size is set.
This pull request has now been integrated.
Changeset: 9ad0e908
Author: Marius Hanl <mhanl at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/9ad0e908088373aaa7220fc98ef5625d8f9ff6a4
Stats: 217 lines in 2 files changed: 191 ins; 14 del; 12 mod
8309470: Potential performance improvements in VirtualFlow
Reviewed-by: kpk, angorya
-------------
PR: https://git.openjdk.org/jfx/pull/1150
More information about the openjfx-dev
mailing list