RFR: 8253086: Optimization of removeAll and retainAll of ObservableListWrapper [v4]

Jeanette Winzenburg fastegal at openjdk.java.net
Wed Oct 7 11:15:09 UTC 2020


On Wed, 7 Oct 2020 10:39:02 GMT, Tom Schindl <tschindl at openjdk.org> wrote:

> 
> 
> did anyone look into Java-Collection-Frameworks (ArrayList and friends or Eclipse-Collections) how they handle this
> situation effeciently?

not me - but good idea, provided they support modifications to the source list while removing.

BTW, just noticed that Tree/Table/View never had the issue that was fixed with introducing the two-pass approach, can't
nail why not - they are using the same selectedItems (from MultipleSelectionModelBase), any ideas?

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

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


More information about the openjfx-dev mailing list