RFR: 8197991: Selecting many items in a TableView is very slow

Kevin Rushforth kcr at openjdk.java.net
Thu Nov 18 00:30:46 UTC 2021


On Wed, 17 Nov 2021 05:34:46 GMT, Abhinay Agarwal <duke at openjdk.java.net> wrote:

> This work improves the performance of `MultipleSelectionModel`  over large data sets by caching some values and avoiding unnecessary calls to `SelectedIndicesList#size`. It further improves the performance by reducing the number of iterations required to find the index of an element in the BitSet.
> 
> The work is based on [an abandoned patch](https://github.com/openjdk/jfx/pull/127) submitted by @yososs
> 
> There are currently 2 manual tests for this fix.

I closed #127 on which this PR is based.

@abhinayagarwal Please use the `/contributor` command to add @yososs as a contributor.

-------------

PR: https://git.openjdk.java.net/jfx/pull/673


More information about the openjfx-dev mailing list