Implement the sharded counters optimization
Open
enhancement
help wanted
performance
- Dominant language
- Rust
- Stars
- 580
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
[The Java code](https://github.com/jonhoo/flurry/blob/d3dae0465b37b7f12c4f0d58a16f36fb1d8c1596/jsr166/src/ConcurrentHashMap.java#L400-L411) uses the `LongAdder` and`CounterCell` types in `add_count` to both improve the scalability of tracking the number of elements, and to intelligently sense when a resize should happen. We should port that code over as well.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.