Re: RFR: JDK-8322795 CSS performance regression up to 10x

2024-03-11 Thread Johan Vos
On Wed, 3 Jan 2024 01:14:13 GMT, John Hendrikx wrote: > The regression is caused by the `Collections.unmodifiableSet` wrapper not > being recognized by `BitSet`, and a fall back is done to a less optimized > version of `containsAll`. > > As this is a regression fix, I've kept the fix as small

Re: RFR: JDK-8322795 CSS performance regression up to 10x

2024-03-09 Thread John Hendrikx
On Wed, 3 Jan 2024 18:33:29 GMT, Kevin Rushforth wrote: >> The regression is caused by the `Collections.unmodifiableSet` wrapper not >> being recognized by `BitSet`, and a fall back is done to a less optimized >> version of `containsAll`. >> >> As this is a regression fix, I've kept the fix as

Re: RFR: JDK-8322795 CSS performance regression up to 10x

2024-01-04 Thread Kevin Rushforth
On Wed, 3 Jan 2024 01:14:13 GMT, John Hendrikx wrote: > The regression is caused by the `Collections.unmodifiableSet` wrapper not > being recognized by `BitSet`, and a fall back is done to a less optimized > version of `containsAll`. > > As this is a regression fix, I've kept the fix as small

Re: RFR: JDK-8322795 CSS performance regression up to 10x

2024-01-03 Thread Michael Strauß
On Wed, 3 Jan 2024 01:14:13 GMT, John Hendrikx wrote: > The regression is caused by the `Collections.unmodifiableSet` wrapper not > being recognized by `BitSet`, and a fall back is done to a less optimized > version of `containsAll`. > > As this is a regression fix, I've kept the fix as small

Re: RFR: JDK-8322795 CSS performance regression up to 10x

2024-01-03 Thread Kevin Rushforth
On Wed, 3 Jan 2024 01:14:13 GMT, John Hendrikx wrote: > As this is a regression fix, I've kept the fix as small as reasonable Thanks. That seems like the best solution. - PR Comment: https://git.openjdk.org/jfx/pull/1314#issuecomment-1875796318

RFR: JDK-8322795 CSS performance regression up to 10x

2024-01-03 Thread John Hendrikx
The regression is caused by the `Collections.unmodifiableSet` wrapper not being recognized by `BitSet`, and a fall back is done to a less optimized version of `containsAll`. As this is a regression fix, I've kept the fix as small as reasonable. I'll provide a further optimized version as part