RFR: 8300487: Store cardinality as a field in BitSet

Simon Tooke stooke at openjdk.org
Wed Jan 18 13:43:30 UTC 2023


On Wed, 11 Jan 2023 16:02:40 GMT, Sergey Kuksenko <skuksenko at openjdk.org> wrote:

> It would be better to see benchmark results other than cardinality operation. To understand how big performance regression is.

Agreed - I suspect this is adding unnecessary overhead to the most common uses of BitSet; I'd be tempted to roll my own if this went in.  Benchmarks could add some level of comfort.

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

PR: https://git.openjdk.org/jdk/pull/11837


More information about the core-libs-dev mailing list