On Tue, 24 Mar 2026 17:48:41 GMT, Andy Goryachev <[email protected]> wrote:

>> modules/javafx.controls/src/main/java/javafx/scene/control/ControlUtils.java 
>> line 183:
>> 
>>> 181: 
>>> 182:             BitSet removed = c.getRemoved().stream()
>>> 183:                 .mapToInt(TablePositionBase::getRow)
>> 
>> is the `.distinct()` needed here and below?
>
> no, effectively done by the `BitSet`

I thought so too. But wouldn't we save some `BitSet` creations then?

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2100#discussion_r2983338804

Reply via email to