Integrated: 8197991: Selecting many items in a TableView is very slow
Abhinay Agarwal
duke at openjdk.java.net
Tue Jan 11 04:48:29 UTC 2022
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.
This pull request has now been integrated.
Changeset: 8c4f966b
Author: Abhinay Agarwal <abhinay_agarwal at live.com>
Committer: Nir Lisker <nlisker at openjdk.org>
URL: https://git.openjdk.java.net/jfx/commit/8c4f966b163f68c517574e38c394b9349551ad08
Stats: 403 lines in 5 files changed: 357 ins; 40 del; 6 mod
8197991: Selecting many items in a TableView is very slow
Co-authored-by: Naohiro Yoshimoto <yosbits at gmail.com>
Reviewed-by: kcr, aghaisas
-------------
PR: https://git.openjdk.java.net/jfx/pull/673
More information about the openjfx-dev
mailing list